AWARE [SYSTEMS]
AWare Systems, , Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
May 2007

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



New Datamatrix section



Valid HTML 4.01!



Thread

2007.05.09 12:40 "using tif_jpeg", by Roman Kazmin
2007.05.09 13:17 "Re: using tif_jpeg", by Toby Thain

2007.05.09 13:17 "Re: 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.
> --
> Roman Kazmin.
> _______________________________________________
> Tiff mailing list: Tiff@lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/tiff
> http://www.remotesensing.org/libtiff/