> Shouldn't the ID be added to lcms2.h, and the functionality to decode > the VCGT formula and VCGT table entries? Or should this be implemented > by all the applications that need to read vcgt as a lcms2-plugin? This > would be quite a lot of code duplication in my opinion. >
Yes, cmsSigVcgtType and cmsSigVctTag are added to lcms2.h, no plug-in is needed, as many people has already asked for this functionality. If you read this tag by means of cmsReadTag(), you get an array of 3 tone curves. All decoding is done internally by the library, and you have not to worry about how (table or formula, 8 bits or 16 bits) is represented in the profile. This works for writing vcgt tags too. Ok, since the documentation on API reference is taking so long, I will put all current code in a zip and do a drop. Please let me some time. Regards Marti ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user