| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2008.10.23 00:08 "Re: JPEGSetupEncode messages", by Frank WarmerdamRaphaë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 |
|||||||