| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2000.03.27 17:04 "Re: Some CCITT Group 3 TIFFs crash libtiff", by Nalin DahyabhaiOn Fri, Mar 17, 2000 at 01:34:17PM -0500, Frank Warmerdam wrote:
> Good news, I have worked out what the bug is. In the last few months the
> fax3 code was changed to handle files wider (or longer?) than 65536 pixels
> and part of this was converting the runs arrays from uint16 to uint32.
Turns out this change also broke fax2ps. The fix is trivial (below).
Cheers,
Nalin
================================================================================
--- tools/fax2ps.c Mon Mar 27 11:44:08 2000
+++ tools/fax2ps.c Mon Mar 27 11:44:35 2000
@@ -62,7 +62,7 @@
* March 13-15, 1995.
*/
static void
-printruns(unsigned char* buf, uint16* runs, uint16* erun, uint32 lastx)
+printruns(unsigned char* buf, uint32* runs, uint32* erun, uint32 lastx)
{
static struct {
char white, black;
|
|||||||