Hi,

I'm pretty new to color management, and color profiles.
I'm writing an application which allows to composite several images on a
single canvas, and each image can have its own color profile. The global
canvas also has a color profile (which is the color profile the final
canvas image will be exported in).

When blending the images I need to blend them in a single profile. The
most appropriate is the canvas profile.
Since I'm using openGL to render the layers, there's a problem when this
profile is a CMYK profile. The problem is that openGL doesn't support
CMYKA (or CMYK for that matter) so I need to split my rendering to 2
parts (CMY and K), which slows down the GUI.

I was wondering if I could somehow use a PCS (say LAB) to perform my
blending. This way I can convert all input images to the PCS, load them
to openGL as RGBA textures. Then I can render using openGL letting it do
the alpha blending on this PCS, and then get the rendered image and
convert to the canvas profile?
Could this work?

My main concern is that if the canvas profile is a narrow gamut profile,
I might lose precision, since the PCS image data will need to be
converted to unsigned chars in order to give to openGL.

Am I making sense, or am I missing something?

Thanx
Yaron Tadmor

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to