2007.05.09 13:17 "Re: [Tiff] using tif_jpeg", by Toby Thain
On 9-May-07, at 8:40 AM, Roman Kazmin wrote:
Hi all.
I have one question about using of libtiff library.
I see that this library contains functions to write/read tiff files with jpeg compressing. I'm talking about tif_jpeg.c. But I cannot understand how can I use it.
Give the appropriate value to the COMPRESSION tag: TIFFSetField(tif, TIFFTAG_COMPRESSION, COMPRESSION_JPEG);
I didn't find any documentation about it. Could you explain me.
And second question. What really do these functions? Create tiff file this jpeg compression?
Yes.
--Toby
Create jpeg file?
Thank's.
> _______________________________________________
> Tiff mailing list: Tiff@lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/tiff
> http://www.remotesensing.org/libtiff/