|AWARE [SYSTEMS]||Imaging expertise for the Delphi developer|
|TIFF and LibTiff Mailing List Archive|
LibTiff Mailing List
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: --nostringval-- gsdll_exit returns 0 Unloaded GSDLL A zipped-up copy of the original TIF and the PostScript output (~4K) are available at ftp://ftp.quitt.net/PS/trouble.zip Any and all help would be appreciated.