Bug 91415 - Some images are displayed as black boxes or black shapes
Summary: Some images are displayed as black boxes or black shapes
Status: RESOLVED MOVED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-21 17:42 UTC by Roberto
Modified: 2018-08-20 21:35 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Resulting file after using pdftocairo (pages 1 to 13) (592.73 KB, text/plain)
2015-07-21 17:42 UTC, Roberto
Details
pdftocairo output after converting pages 1 to 13 to a set of png images (5.54 KB, text/plain)
2015-07-21 17:55 UTC, Roberto
Details
pdftocairo output after converting pages 1 to 13 to a single pdf file (2.67 KB, text/plain)
2015-07-21 17:56 UTC, Roberto
Details

Description Roberto 2015-07-21 17:42:29 UTC
Created attachment 117281 [details]
Resulting file after using pdftocairo (pages 1 to 13)

When I open the PDF textbook provided by the following link:

http://curriculumenlinea.mineduc.cl/descargar.php?id_doc=201301091407230

some images and pages are shown as black boxes/ black shapes. See, for example, the following pages: 1, 8, 12, 13, 28, 33, 37. Compare results by opening the same file with Adobe Reader, or even with Firefox's built-in PDF reader.

I first reported the issue to the Evince development team:

https://bugzilla.gnome.org/show_bug.cgi?id=752654 

but they couldn't reproduce the issue, neither with poppler 0.30 nor with 0.32. So, it's probably a regression in 0.33.0-1. I can reproduce the bug with pdftocairo (see the attached resulting file).

Currently using: 
Cairo 1.14.2-1
Poppler 0.33.0-1

PDF viewer: Evince 3.16.1

Operating System: Antergos
Comment 1 Roberto 2015-07-21 17:55:21 UTC
Created attachment 117282 [details]
pdftocairo output after converting pages 1 to 13 to a set of png images
Comment 2 Roberto 2015-07-21 17:56:11 UTC
Created attachment 117283 [details]
pdftocairo output after converting pages 1 to 13 to a single pdf file
Comment 3 Albert Astals Cid 2015-07-21 18:25:21 UTC
It's because those developers are probably using poppler without linking to openjpeg and you are.

openjpeg is a better backend for jpeg2000 decoding but seems to choke on this file sadly.

Needs investigation.
Comment 4 Roberto 2015-07-21 19:43:57 UTC
Then, should I file a bug against Openjpeg? If so, which info should I provide?

Kind regards.
Comment 5 Albert Astals Cid 2015-07-21 19:47:56 UTC
Yes and no, openjpeg is a complicated project, it has a newer version we don't use because it regresses on our use case and then the older version is understandably unmaintained.

We need some time to get them to fix their newer version, move to it and then we can start reporting bugs against them.
Comment 6 GitLab Migration User 2018-08-20 21:35:17 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/28.


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.