Hi Joris,

Glad to meet you again :-)

Regarding your question, the embedded profile is just the ICC file, 
embedded "as is". There is a bit on the header that may vary, but the 
whole block contains just an image of the ICC file.

At that point, understanding and using the contents of the profile is the
goal of lcms. I assume you already know that's not trivial at all.

So, quite probably, if you want to use such embedded profiles, you could 
use lcms to do the task. You have a sample on tifficc on how to do that. 
Basically, is just a matter of:

     TIFFGetField(in, TIFFTAG_ICCPROFILE, &EmbedLen, &EmbedBuffer);
     hProfile = cmsOpenProfileFromMem(EmbedBuffer, EmbedLen);
   
Then, creating a trasform from this hProfile to whatever output space 
you want, and apply the transform to raster data. That's what tifficc does.
If done properly, you got the ability to convert CMYK tiff too.

If you want to not use lcms at all, well, then the matrix-shaper profile
you are describing is just one flavor of the many implementations. 
RGB embedded profiles are usually using such way, but CMYK are not.
The ICC spec lives here: http://www.color.org

Regards,
Marti Maria.









-------------------------------------------------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to