TIFF and LibTiff Mail List Archive


1999.08.18 20:10 "What's wrong with this TIFF?", by Kevin D. Quitt
1999.08.19 13:02 "Re: What's wrong with this TIFF?", by Helge Blischke
1999.08.20 16:30 "Re: What's wrong with this TIFF?", by Alberto Accomazzi
1999.08.20 16:31 "[Fwd: Re: What's wrong with this TIFF?]", by Helge Blischke

1999.08.18 20:10 "What's wrong with this TIFF?", by Kevin D. Quitt

PostScript allows the direct inclusion of the binary CCITT Group IV data from a TIFF file. My program reads in a TIFF, converting it from multiple strips to a single strip, as necessary, and puts a PostScript wrapper around it. Generally things have worked well, but with certain images I'm getting a PostScript error in the middle of the TIFF data. The image was created in PaintShop Pro, then run through tiffcp to convert it to a single strip.

As far as I can tell, the content of the PostScript file and the TIFF file are identical.

GSView displays the PostScript properly. Distiller turns it into PDF. Acrobat reader displays and prints it properly. GSView blows up when trying to print it, giving this message (32% GSView Print):

Loading F:\gstools\gs5.50\gsdll32.dll
Loaded Ghostscript DLL
Aladdin Ghostscript 5.50 (1998-9-11)
Copyright (C) 1998 Aladdin Enterprises, Menlo Park, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Unrecoverable error: ioerror in %image_file_continue
gsdll_execute_cont returns -12
Unrecoverable error: stackunderflow in exch
Operand stack:
gsdll_exit returns 0
Unloaded GSDLL

A zipped-up copy of the original TIF and the PostScript output (~4K) are available at

Any and all help would be appreciated.