[gs-bugs] [Bug 692271] New: Tiff files are rendered without Byte Order Indicator, Version, and Header Start Offset fields.

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Thu Jun 9 22:01:27 UTC 2011


http://bugs.ghostscript.com/show_bug.cgi?id=692271

           Summary: Tiff files are rendered without Byte Order Indicator,
                    Version, and Header Start Offset fields.
           Product: Ghostscript
           Version: 9.02
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P4
         Component: Graphics Library
        AssignedTo: support at artifex.com
        ReportedBy: dan_blair at yahoo.com
         QAContact: gs-bugs at ghostscript.com
   Estimated Hours: 0.0


We have seen a trend in tiff files rendered in GS 9.00 and 9.02 that was not
present in GS 8.63.  In this case some tiffs are being rendered without the
first 8 bytes of the tiff header.  This happens rarely, we are seeing a failure
rate of about 1 page out of every 100,000 pages rendered, but is fairly
consistent at that rate.  The tiff renders that failed do not fail if rerun so
we have implemented a separate parser to find these as they occur and re-render
as needed.

I have been able to prepend the missing fields into the offending tiff files
with a hex editor and this does seem to repair the documents.

Our current parameters in GS.
-dNOPAUSE 
-q 
-dBATCH
-sDEVICE=tiffg4
-r300x300
-dNOCIE=20
-sOutputFile=<outputfilepath>
<sourcePdfPath>

-- 
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gs-bugs mailing list