[gs-bugs] [Bug 690319] New: pdfwrite with multi-stripe images takes f.o.r.e.v.e.r

bugs.ghostscript.com-bugzilla-daemon at ghostscript.com bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Thu Mar 5 13:14:02 PST 2009


           Summary: pdfwrite with multi-stripe images takes f.o.r.e.v.e.r
           Product: Ghostscript
           Version: 8.63
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: normal
          Priority: P4
         Component: PDF Writer
        AssignedTo: ken.sharp at artifex.com
        ReportedBy: mark.devries at xyenterprise.com
         QAContact: gs-bugs at ghostscript.com

I have a PS file containing EPS images converted from TIFF by tiff2ps. The
images are Level 2.  Our real-life customer's .ps file is 27 MB.  Converting to
PDF with gs takes about 4 minutes on my Windows PC; Acrobat Distiller 3.0 does
the same task in about 15 seconds.  The troublesome part seems to be 230
graphics that are typically 2400 rows deep, coded as 75 strips 32 rows deep.  In
other words there are 75 repetitions of the image procedure per graphic.  There
are also 947 other graphics that are drawn as 7 strips 16 rows deep, but they
are small and don't eat much time.

I also converted a single TIFF that's 8462 rows deep, drawn at one row per
strip, and created a PDF.  This pathological case took 1:45 with gs on my PC,
and about :05 with Acrobat Distiller.

My command line is: gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite
-sOutputFile=name.pdf -c .setpdfwrite -f name.ps

We've seen similar timings for gs on Red Hat Linux.  (The big file took 42
minutes on Solaris, but that's a *really* old system!)

------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the gs-bugs mailing list