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
March 2006

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

2006.03.20 18:04 "3.8.1 and JPEG problem", by Mikhail Kruk
2006.03.20 18:13 "Re: 3.8.1 and JPEG problem", by Bob Friesenhahn
2006.03.20 19:00 "Re: 3.8.1 and JPEG problem", by Andrey Kiselev
2006.03.20 20:32 "Re: 3.8.1 and JPEG problem", by Mikhail Kruk
2006.03.25 08:07 "Re: 3.8.1 and JPEG problem", by Joris Van Damme
2006.03.25 18:08 "Re: 3.8.1 and JPEG problem", by Joris Van Damme
2006.03.26 02:52 "Re: 3.8.1 and JPEG problem", by Mikhail Kruk
2006.03.26 03:25 "Re: 3.8.1 and JPEG problem", by Joris Van Damme
2006.03.26 23:48 "Re: 3.8.1 and JPEG problem", by Mikhail Kruk
2006.03.27 00:56 "Re: 3.8.1 and JPEG problem", by Joris Van Damme
2006.03.27 03:56 "Re: 3.8.1 and JPEG problem", by Mikhail Kruk
2006.03.27 04:54 "Re: 3.8.1 and JPEG problem", by Joris Van Damme
2006.03.27 14:39 "Re: 3.8.1 and JPEG problem", by Ed Grissom
2006.03.27 14:54 "Re: 3.8.1 and JPEG problem", by Mikhail Kruk

2006.03.20 18:13 "Re: 3.8.1 and JPEG problem", by Bob Friesenhahn

On Mon, 20 Mar 2006, Mikhail Kruk wrote:
>
> I'm getting the following error when trying to process a TIFF file
> whith JPEG compression:
> tiffcp -c none 29213.tif out.tif
> Assertion failed: sp != 0, file
> ../../tiff-3.8.1-src/libtiff/tif_jpeg.c, line 1524
>
> The file is available here:
> www.scorch2000.com/~meshko/29213.tif

Using CVS libtiff installed on March 18th, I am able to load this file 
without problem using development GraphicsMagick on a Sun SPARC 
workstation.

Note that this is a YCbCr JPEG file.  GraphicsMagick uses this option:

   TIFFSetField( tiff, TIFFTAG_JPEGCOLORMODE, JPEGCOLORMODE_RGB );

so that libtiff requests that libjpeg convert the pixels to RGB before 
returning them to libtiff.  This avoids the need for dealing with 
YCbCr and subsampling in the application.

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/