AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2003.02.24 19:35 "tiff2ps segfaults with quad-jpeg.tif", by Peter Kirchgessner
2003.02.25 21:00 "Re: tiff2ps segfaults with quad-jpeg.tif", by Andrey Kiselev

2003.02.24 19:35 "tiff2ps segfaults with quad-jpeg.tif", by Peter Kirchgessner

Hi,

I was just looking for an example how to read JPEG-compressed TIFF files. I noticed that tiff2ps from tiff-v3.6.0-beta segfaults with quad-jpeg.tif from the set of testfiles. tiff2rgba can process the file. tiff2ps is trying to read the image with TIFFReadScanline(), wheras tiff2rgb is reading it with TIFFReadRGBAImage(). Is the latter one the preferred way? This would require to allocate memory for the complete image.

Sincerely

Peter Kirchgessner
--
Peter Kirchgessner
http://www.kirchgessner.net
mailto:peter@kirchgessner.net