2007.10.23 07:41 "Re: [Tiff] bad version number 10752", by Graeme Gill
Reads elegant. What would you suggest?
If you're not familiar with the approach, take a look at the source code in icclib.
It's not as "efficient" as some other approaches, but in this age of super fast core CPU speed, and relatively slow memory sytems, the lack of efficiency is moot. It also avoids issues with misaligned words etc., which trouble some architectures.