2006.05.09 22:32 "Re: [Tiff] TIFF Rotation", by Edward Lam
Well, I've tried to dodge this, but I don't see another option. I need to be able to rotate TIF's by 90, 180, or 270 degrees. Near as I can tell, there's not really any support for this in libtiff, and I don't want to pay the ImageMagick penalty for bi-tonal images. To be honest, performance is not a huge concern, since it will be done rarely at best. But, I can't afford ImageMagick's memory usage. Although I can probably accommodate a single uncompressed directory. So I guess I need to roll my own.
I'm not sure that something like this should be in libtiff "core". Personally, I would prefer a light-weight library for loading tiff images. Perhaps this belongs in another lib/layer that sits on top of libtiff? Is this functionality that you need within the library itself or just some add-on utility that you can use from time to time (eg. option in tiffcp).