bug80 - remove BeginData/EndData from PostScript output
This commit is contained in:
parent
83daf89ba1
commit
5ae8f23ee7
@ -1,3 +1,10 @@
|
||||
2002-09-08 Frank Warmerdam <warmerdam@pobox.com>
|
||||
|
||||
* tools/tiff2ps.c: Don't emit BeginData/EndData DSC comments
|
||||
since we are unable to properly include the amount to skip.
|
||||
|
||||
http://bugzilla.remotesensing.org/show_bug.cgi?id=80
|
||||
|
||||
2002-09-02 Andrey Kiselev <dron@remotesensing.org>
|
||||
|
||||
* /libtiff/tif_dirread.c: Fixed problem with SBYTE type data fetching
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $Header: /cvs/maptools/cvsroot/libtiff/tools/tiff2ps.c,v 1.9 2002-06-22 10:32:56 dron Exp $ */
|
||||
/* $Header: /cvs/maptools/cvsroot/libtiff/tools/tiff2ps.c,v 1.10 2002-09-08 17:49:22 warmerda Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988-1997 Sam Leffler
|
||||
@ -1083,7 +1083,10 @@ PS_Lvl2page(FILE* fd, TIFF* tif, uint32 w, uint32 h)
|
||||
PS_Lvl2colorspace(fd, tif);
|
||||
use_rawdata = PS_Lvl2ImageDict(fd, tif, w, h);
|
||||
|
||||
/* See http://bugzilla.remotesensing.org/show_bug.cgi?id=80 */
|
||||
#ifdef ENABLE_BROKEN_BEGINENDDATA
|
||||
fputs("%%BeginData:\n", fd);
|
||||
#endif
|
||||
fputs("exec\n", fd);
|
||||
|
||||
tiled_image = TIFFIsTiled(tif);
|
||||
@ -1209,7 +1212,9 @@ PS_Lvl2page(FILE* fd, TIFF* tif, uint32 w, uint32 h)
|
||||
#endif
|
||||
|
||||
_TIFFfree(buf_data);
|
||||
#ifdef ENABLE_BROKEN_BEGINENDDATA
|
||||
fputs("%%EndData\n", fd);
|
||||
#endif
|
||||
return(TRUE);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user