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
August 2003

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

2003.08.08 19:30 "patch for tiff2ps", by Tom Kacvinsky
2003.08.08 19:46 "patch for tiff2ps", by Andrey Kiselev

2003.08.08 19:30 "patch for tiff2ps", by Tom Kacvinsky

The PS comment emitted when FlateDecode is being used
is not correct.  What we had is:

   ... PostScript Level 3 only

instead of
   ... % PostScript Level 3 only

The attached patch fixes this.

Tom--- tiff2ps.c	Tue Aug  5 08:31:33 2003
+++ tiff2ps.c.new	Fri Aug  8 15:07:34 2003
@@ -1027,7 +1027,7 @@
 		if ( level3 ) {
 			 TIFFGetFieldDefaulted(tif, TIFFTAG_PREDICTOR, &predictor);
 			 if (predictor > 1) {
-				fprintf(fd, "\t % PostScript Level 3 only.");
+				fprintf(fd, "\t %% PostScript Level 3 only.");
 				fputs("\n\t<<\n", fd);
 				fprintf(fd, "\t /Predictor %u\n", predictor);
 				fprintf(fd, "\t /Columns %lu\n",