[Poppler-bugs] [Bug 103446] New: syntax errors reported on PDFs created by xsane

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 25 09:49:45 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=103446

            Bug ID: 103446
           Summary: syntax errors reported on PDFs created by xsane
           Product: poppler
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: utils
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: hippostech at gmail.com

Created attachment 135032
  --> https://bugs.freedesktop.org/attachment.cgi?id=135032&action=edit
two-page music score as PDF

using poppler-0.60.1 with libpoppler.so.71 on PDFs created by xsane v0.99, I
get errors from the pdfimages -list <filename> command like: ...

gill at happy ~/MEW_Archive/A/African Symphony/African Symphony Bari-Euph $
pdfimages -list African-Symphony-Baritone-C.pdf 
page   num  type   width height color comp bpc  enc interp  object ID x-ppi
y-ppi size ratio
--------------------------------------------------------------------------------------------
Syntax Error (174623): Unexpected end of file in flate stream
   1     0 image    4800  6959  gray    1   1  image  no   [inline]     600  
600 4078K 100%
Syntax Error (175257): Unknown compression method in flate stream
Syntax Error (147236): Unexpected end of file in flate stream
   2     1 image    4800  6959  gray    1   1  image  no   [inline]     600  
600 4078K 100%
Syntax Error (322879): Unknown compression method in flate stream
gill at happy ~/MEW_Archive/A/African Symphony/African Symphony Bari-Euph $ 

...
We have created a few thousand such files using xsane in the past months and
distributed these to about 50 people (mainly windows users using Adobe Acrobat
reader) who have had no problems viewing and printing these files.

As "one last check" however, I decided to run them through pdfimages, hoping
topick up whewhter eg.g any had been scanned in colour by mistake.

The stdout data looks ok (comp=1 means zlib compression?), so I suppose I could
just ignore the stderror stuff... but I'm concerned in csae there is a problem
in there which will come back to bite me later!

I am attaching the file to which the above error messages relate - rather large
alas!

I am willing to dig deeper myself if necessary to track down what's happening,
but I would like some advice on how to proceed.

Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20171025/4ba3ff87/attachment.html>


More information about the Poppler-bugs mailing list