AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2000.04.12 09:23 "JPEG tiled TIFF files", by Paul Preuveneers
2000.04.12 12:35 "RE: JPEG tiled TIFF files", by Ed Grissom
2000.04.12 14:01 "RE: JPEG tiled TIFF files", by Bill Radcliffe
2000.04.12 15:32 "RE: JPEG tiled TIFF files", by Paul Preuveneers
2000.04.12 12:30 "RE: JPEG tiled TIFF files", by
2000.04.12 16:48 "Re: JPEG tiled TIFF files", by M. L. Welles
2000.04.13 13:58 "Re: JPEG tiled TIFF files", by Helge Blischke
2000.04.12 16:17 "Re: JPEG tiled TIFF files", by Paul Preuveneers

2000.04.12 15:32 "RE: JPEG tiled TIFF files", by Paul Preuveneers

Thanks guys for all your help!

> If you are using LibTIFF, just compile with JPEG support on,

erm, this is done by....

I mean I've set all the flags in the tiff file for COMPRESSION (7), and JPEGCOLORMODE (RGB) and JPEGQUALITY(75) etc but it won't open or display. Do I have to explicitly turn jpeg support 'on' somewhere....

Does the call to TIFFWriteEncodedTile() actually compress the data and then write the tile to the tiff file automatically? I have set the IJG stuff up to compress data (y'know, the jpeg_compress_struct and error_mgr etc) but do I need to do this and then tell the TIFFWriteEncodedTile() function to just write the already compressed data from the buffer?

Also ImageMagick looks cracking! Thanks!

Paul

On Wed, 12 Apr 2000, Grissom, Ed wrote:

>
> Paul -
>

> If you are using LibTIFF, just compile with JPEG support on, (not OJPEG ) > and you should be able to read and write JPEG files, including tiled ones.

>
> See www.libtiff.org for more info on configuring the library correctly for
> JPEG support.
>
>
> The proper compression code is 7, and you MUST NOT use the TIFF 6.0

> Documentation to write an Interchange JPEG. Use the following doc for > current TIFF compatibility.