Marti, > Glad to meet you again :-)
Likewise, Marti, I hope you're doing swell! > I assume you already know that's not trivial at all. I'm in the process of realizing that... > 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 I am indeed attempting to do all without any library at all (excluding LibTiff as well as Lcms). It strikes ignorant me as odd, that there are many possible implementations and 'degrees of correctness', since, if I understand correctly, the goal of ICC profiles is to actually communicate color in a way that is totally unambigious. This tower of Bable is not at all what I expected, and it is a first thing I've learned that I would probably not realize if I were to simply use your Lcms (that I do trust completely, and for good reason, but trust is not the issue since all I really want to learn the hard way). I have consulted the specs, of course, but it seems I'm missing the necessary background to make sense of them beyond the simple decoding of the ICC profile data format. I'm starting to realize my questions probably were beyond the scope of a single mail... Possibly, the best course of action is digging into the Lcms code, and trying to build some more insight from that... Could you nevertheless just confirm that the D50/D65 issue raised in my question 4 is indeed the gap I have to close next, and that 'chromatic adaptation' and 'bradford' are indeed the relevant concepts I should try and dig into? Joris Van Damme [EMAIL PROTECTED] http://www.awaresystems.be/ Download your free TIFF tag viewer for windows here: http://www.awaresystems.be/imaging/tiff/astifftagviewer.html ------------------------------------------------------- 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