2004.03.24 23:25 "[Tiff] Jpeg compressing a file", by Carl Collin

2004.03.25 06:56 "Re: [Tiff] Jpeg compressing a file", by Andrey Kiselev

I am trying to (using 3.5.7) open a tiff which has no compression and compress using the JPEG compression algorithm. I have tried to view the code in tiffcp.c but it is convoluted, in trying to handle all kinds of possibilities. In using tiff apis previously, most things I have wanted to try ended up being easy. Can somebody point me in the right direction in terms of how I open a TIFF file, change the compression tags, and then rewrite the directory and close the tiff file?

Am I undestand properly: you want just change tags and rewrite directory without changes in image?


Andrey V. Kiselev
Home phone: +7 812 5274898 ICQ# 26871517