[gs-commits] rev 10928 - trunk/gs/base
larsu at ghostscript.com
larsu at ghostscript.com
Mon Mar 15 19:18:56 UTC 2010
Author: larsu
Date: 2010-03-15 19:18:55 +0000 (Mon, 15 Mar 2010)
New Revision: 10928
Modified:
trunk/gs/base/gdevtifs.h
Log:
Change default TIFF strip size to one megabyte.
Many fax readers have problems reading TIFF images which are chunked into
strips, and one megabyte is larger than the biggest expected fax page. Hence,
ghostscript's default TIFF output will be accepted by those readers.
Modified: trunk/gs/base/gdevtifs.h
===================================================================
--- trunk/gs/base/gdevtifs.h 2010-03-15 19:00:43 UTC (rev 10927)
+++ trunk/gs/base/gdevtifs.h 2010-03-15 19:18:55 UTC (rev 10928)
@@ -50,7 +50,7 @@
* Sets the compression tag for TIFF and updates the rows_per_strip tag to
* reflect max_strip_size under the new compression scheme.
*/
-#define TIFF_DEFAULT_STRIP_SIZE 8192
+#define TIFF_DEFAULT_STRIP_SIZE 1048576
int tiff_set_compression(gx_device_printer *pdev,
TIFF *tif,
More information about the gs-commits
mailing list