AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
October 2008

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



Valid HTML 4.01!



Thread

2008.10.22 21:12 "JPEGSetupEncode messages", by Jeffrey Ratcliffe
2008.10.22 23:16 "Re: JPEGSetupEncode messages", by Frank Warmerdam
2008.10.22 23:31 "Re: JPEGSetupEncode messages", by <lemoine.raphael@gmail.com>
2008.10.23 00:08 "Re: JPEGSetupEncode messages", by Frank Warmerdam
2008.10.23 13:44 "Re: JPEGSetupEncode messages", by Bob Friesenhahn
2008.10.23 10:56 "Re: JPEGSetupEncode messages", by Gerben Vos
2008.10.23 19:56 "Re: JPEGSetupEncode messages", by Jeffrey Ratcliffe
2008.10.23 20:12 "Re: JPEGSetupEncode messages", by Bob Friesenhahn

2008.10.22 23:31 "Re: JPEGSetupEncode messages", by <lemoine.raphael@gmail.com>

Hello,

On Oct 23, 2008, at 1:16 AM, Frank Warmerdam wrote:

> Jeffrey Ratcliffe wrote:
>> I have tiff output from a scanner with which I would like use
>> libtiff's jpeg compression via tiffcp. For a greyscale scan, however,
>> I am getting:
>> JPEGSetupEncode: RowsPerStrip must be multiple of 8 for JPEG
>
> Jeff,
>
> I would suggest selecting a RowsPerStrip value that is a multiple
> of 8.
>
>> 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...

Best regards,

Raphael

> 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
>
> _______________________________________________
> Tiff mailing list: Tiff@lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/tiff
> http://www.remotesensing.org/libtiff/