I experience a problem with some PDF files Have also created a question on stackoverflow with more information http://stackoverflow.com/questions/42467869/script-does-not-continue-after-command-line Some of the answers seem to have a solution
Since you already read that webpage, what about you tell us what we need to know instead of asking us to spend time to reach the knowledge you already have?
@dwarring said "just quickly, I'm pretty sure that this PDF is dying because the content stream contains an inline image started by and 'BI' followed by random data and ended by 'EI'. The Adobe engineers were having an off-day when they designed these operators, the problem being that situations arise where the binary data randomly contains 'EI' and makes the PDF unparsable. Some tools may handle this better, but ideally the producer of this image should avoid the use of inline images."
Created attachment 130937 [details] failing PDF
Created attachment 130938 [details] another failing PDF
And the command line :) /var/bin/poppler-0.51.0/utils/pdfimages -list /var/test.pdf
Created attachment 130961 [details] [review] Patch to fix
Why the added "if writer" ?
Ah right i see, you're calling writeImageFile with a null param just to advance it. Looks good to me, will you commit it?
Pushed
thanks
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.