2008.09.23 16:24 "[Tiff] New to list, with a query on TIFFTAG_GDAL_METADATA", by David J Taylor

2008.10.23 00:08 "Re: [Tiff] JPEGSetupEncode messages", by Frank Warmerdam

Raphaël Lemoine wrote:

>> and for colour scans:
>> JPEGSetupEncode: BitsPerSample 16 not allowed for JPEG
>> What can I do to make this work?
>

> It is quite challenging to manage 16bit data with JPEG compression. > How badly do you want to do this?

>

AFAIK, there is no such thing as 16-bits per channels in the JPEG standard (only 8 and 12 bits are allowed).

With the IJG library, this can only be selected at compile time...

Yes, I stand corrected. I was thinking of 12bit support.

There is a modified libjpeg that supports 8 or 12 bit decisions at runtime, and it has been integrated with libtiff. But it is quite a hassle to dig up, and use.

Best regards,
--
---------------------------------------+--------------------------------------

I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam

and watch the world go round - Rush    | Geospatial Programmer for Rent