[Bug 830571] New: Images in PDF not displayed at all
https://bugzilla.novell.com/show_bug.cgi?id=830571 https://bugzilla.novell.com/show_bug.cgi?id=830571#c0 Summary: Images in PDF not displayed at all Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: openSUSE 12.3 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: binli@opensuse.org ReportedBy: holgi@suse.com QAContact: qa-bugs@suse.de CC: coolo@suse.com Found By: Component Test Blocker: --- Created an attachment (id=548860) --> (http://bugzilla.novell.com/attachment.cgi?id=548860) scan-example.pdf Using epdfview to display PDF documents I quite often see problems displaying PDF documents with embedded images. While they are displayed correctly if I use a very low scale to view it (e.a. 10-50%) they are not shown at all (just a one pixel hight line below the original place) if I use a higher scale (e.a. 100% or more). To me it looks like PDF pages containing an image for the whole page (e.a. scanned documents like the attached "scan-example.pdf") are quite often showing this problem while small embedded images (like company logs etc.) are displayed correctly in most cases. Please also see attached screenshots) Since epdfview is using poppler to render the PDF documents I assigned the bug report to the maintainer Please tell me if I can help you with any further information. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=830571
https://bugzilla.novell.com/show_bug.cgi?id=830571#c1
--- Comment #1 from Holger Sickenberg
https://bugzilla.novell.com/show_bug.cgi?id=830571
https://bugzilla.novell.com/show_bug.cgi?id=830571#c2
--- Comment #2 from Holger Sickenberg
https://bugzilla.novell.com/show_bug.cgi?id=830571
https://bugzilla.novell.com/show_bug.cgi?id=830571#c3
Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=830571
https://bugzilla.novell.com/show_bug.cgi?id=830571#c4
Holger Sickenberg
Holger Sickenberg,
A) to find out whether or not the root cause is in poppler or in epdfview, call some other poppler-based programs, e.g. some appropriate binaries from the poppler-tools RPM.
Do other poppler-based programs result the same issue?
Ok, does not seem to be too easy if those problems just appear in certain circumstances, but I will try.
B) Perhaps the PDF is not fully compliant?
How exactly did you create your "scan-example.pdf" in your attachment#548860 [details] ?
The attached example is generated from one of the Xerox copier/printer/scanner. But since I'm reviewing a lot of online applications, I see this problem quite often happening with scans of school certificates.
Do you perhaps get the issue only when you create PDFs in the same way as you did with your "scan-example.pdf"?
No, see above. I also see that problem with with files I get from others not using those scanner.
There is no free (as in free speech) software that could verify whether or not a PDF is compliant (like PitStop does).
Regarding whether or not a PDF is compliant one can currently do only some random tests:
Currently we provide three separate PDF rendering engines: - poppler (a fork of Xpdf) - Ghostscript - Adobe Reader
Regarding whether or not a PDF is compliant one can currently only try out the other PDF rendering engines.
B1) Does the Adobe Reader ("acroread") display it as you expect?
Yes, it does.
Does the Adobe Reader show any issues/errors when displaying it?
No, it does not. Furthermore epdfview did not have that problem in openSUSE 12.1. At that time also scanned PDFs were displayed correctly.
B2) Alternatively display the PDF with Ghostscript like
$ gs -r50 file.pdf
This opens a X11-window that shows the graphical content of a PostScript or PDF file. At the command line where you typed the "gs" command, press the [Enter/Return] key to show the next page. To exit Ghostscript type "quit" or press the [Ctrl/Strg]+[C] keys.
Possible errors are shown at the command line where you typed the "gs" command. In case of errors, the PostScript or PDF is definitely invalid. But no errors do not prove that the PostScript or PDF is actually valid.
To only test if the PostScript or PDF is invalid run $ gs -r50 -dNOPAUSE -dBATCH file.pdf to let Ghostscript show the pages continuously.
If there are no errors, check if the graphical content is what you expect. The "-r" parameter specifies the resolution so that "-r100" shows the graphical content at double size compared to "-r50".
That is working fine. I do not see any errors. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=830571
https://bugzilla.novell.com/show_bug.cgi?id=830571#c5
Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=830571
https://bugzilla.novell.com/show_bug.cgi?id=830571#c6
--- Comment #6 from Holger Sickenberg
https://bugzilla.novell.com/show_bug.cgi?id=830571
https://bugzilla.novell.com/show_bug.cgi?id=830571#c7
--- Comment #7 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=830571
https://bugzilla.novell.com/show_bug.cgi?id=830571#c8
--- Comment #8 from Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=830571
https://bugzilla.novell.com/show_bug.cgi?id=830571#c9
Holger Sickenberg
https://bugzilla.novell.com/show_bug.cgi?id=830571
https://bugzilla.novell.com/show_bug.cgi?id=830571#c10
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=830571
https://bugzilla.novell.com/show_bug.cgi?id=830571#c11
Bin Li
https://bugzilla.novell.com/show_bug.cgi?id=830571
https://bugzilla.novell.com/show_bug.cgi?id=830571#c
zhang jiajun
participants (1)
-
bugzilla_noreply@novell.com