| 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 |
Thread2006.03.20 18:13 "Re: 3.8.1 and JPEG problem", by Bob FriesenhahnOn 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/ |
|||||||