Bug 104232 - Fails to render large PNG in PDF (leaves blank space)
Summary: Fails to render large PNG in PDF (leaves blank space)
Status: RESOLVED MOVED
Alias: None
Product: poppler
Classification: Unclassified
Component: cairo backend (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-12 21:42 UTC by Peter Mawhorter
Modified: 2018-08-20 22:28 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
PDF including PNG image which fails to render. (1.29 MB, application/pdf)
2017-12-12 21:42 UTC, Peter Mawhorter
Details

Description Peter Mawhorter 2017-12-12 21:42:50 UTC
Created attachment 136124 [details]
PDF including PNG image which fails to render.

The attached PDF includes a 1492x1286 PNG image (the right half of Figure 5 on page 8) which fails to render when using pdftocairo -png (the space it should occupy is simply blank). It shows up fine in Acrobat Reader (I originally encountered this bug in Evince).

I have an identical document which includes a PDF file at that point instead of a PNG (I say "includes" but that's at the XeTeX source level, so presumably the contents of that PDF get transparently added to the complied output?). The version using the PDF-include works fine, the problem is that it takes a few seconds to load in Evince and quite a while in Acrobat Reader because the image is a graph with ~100,000 points (hence wanting to rasterize it).


FWIW I'm on Arch Linux 4.14.3-1 using Poppler 0.61.1-1
Comment 1 Peter Mawhorter 2017-12-12 21:46:56 UTC
I should mention from cursory research this is possibly related to:

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

or

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

but the example documents posted in those bugs seem to work okay for me. The second bug example perhaps had some issues, but included error messages on the console (from Evince) as follows:

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug


These did not occur when viewing the document I uploaded.
Comment 2 GitLab Migration User 2018-08-20 22:28:15 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/237.


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.