Bug 79601 - Image rendered as garbage
Summary: Image rendered as garbage
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: splash backend (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Windows (All)
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-03 18:10 UTC by Charles Hyder
Modified: 2014-06-04 23:11 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
The problematic PDF file rendered by 2 version of pdftoppm (1.06 MB, text/plain)
2014-06-03 18:10 UTC, Charles Hyder
Details

Description Charles Hyder 2014-06-03 18:10:12 UTC
Created attachment 100366 [details]
The problematic PDF file rendered by 2 version of pdftoppm

A certain image in PDF is rendered as garbage by pdftoppm. Other images are rendered fine. Tested with

pdftoppm version 0.26.0

which was compiled on Win XP with

cairo_1.10.2-2
freetype_2.4.10-1
openjpeg-1.5.1
zlib_1.2.5-2

I also have pdftoppm as part of cygwin, which is

pdftoppm version 0.24.5

and this version renders the example PDF just fine. The resulting images from the problematic version 0.26.0 and working version 0.25.5 are attached, along with the PDF file itself.
Comment 1 Charles Hyder 2014-06-03 18:17:17 UTC
The version of 0.26.0 is actually the one I compiled with git master (obtained today). I have reasons to believe that something may be wrong with my local compilation process, though. So please confirm the bug first.

In case it's just me, I'm following the instructions:

http://laconsigna.wordpress.com/2011/07/14/compiling-poppler-on-windows/

to compile under Win XP. It this is not how the compilation should be done please tell me how to do it right.
Comment 2 Albert Astals Cid 2014-06-03 23:13:08 UTC
Works fine here. I have no clue about using windows so i can't help you there.
Comment 3 Charles Hyder 2014-06-04 23:10:40 UTC
I've narrowed the problem down to JPEG2000 images with indexed color (palette). It is not relevant to poppler itself and is probably related to my compiler (MS Visual Studio 10). Since Windows platform is not officially supported by the poppler project I'm closing this bug.

I guess I'll have to use poppler windows binaries compiled by others as they seem to work just fine.


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.