NRajkumar / pdfium

Automatically exported from code.google.com/p/pdfium
0 stars 0 forks source link

Regression: Some JPEG2000 images not rendered #168

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download file from 
https://docs.google.com/file/d/0B-YeEgq5sO7NdWlLeF9mYXEtVUU/edit.
2. View in Chrome

What is the expected output? What do you see instead?
Expected a page of scanned content (see same PDF in Firefox). Instead the page 
is blank besides a number at the bottom.

What version of the product are you using? On what operating system?
Chrome 43.0.2357.125. Also tried with various versions of pdfium directly.

Please provide any additional information below.
This appears to have been caused by https://codereview.chromium.org/589243004
If I sync before that, the images display fine. With that change however I get 
the current behavior.
It looks like when openjpeg was upgraded there were some compilation errors, so 
some code in fx_codec_jpx_opj.cpp was commented out. If I comment out that same 
code (that sets image->useColorSpace) in a working version, the same bug 
reproduces.

Original issue reported on code.google.com by d...@google.com on 12 Jun 2015 at 6:32