diff options
author | JUN FANG <jun_fang@foxitsoftware.com> | 2015-03-16 12:10:04 -0700 |
---|---|---|
committer | JUN FANG <jun_fang@foxitsoftware.com> | 2015-03-16 12:10:04 -0700 |
commit | 5a0e504d53195892458d819e52c62bea0c710bd5 (patch) | |
tree | fdfafe2d4ee850006bd51b5b89b1c16b3055aa81 /.gitignore | |
parent | cd3c4764b87323ec7b712e537d18292d849611b9 (diff) | |
download | pdfium-5a0e504d53195892458d819e52c62bea0c710bd5.tar.xz |
Fix a problem that JP2 image is not displayed because index color space is used
There are two issues in this bug.
One is that JP2 image is not displayed because it aborts loading Jpx bitmap when the number of components in color space is different with that one in JPX images. I found that the number of components in color space isn't updated after it's initialized. For index color space, the component shall inherit from its base color space.
The second issue is that displayed color is not correct after I fixed the first issue. The root cause is that sRGB is used in JPX image, it doesn't need to map from index to RGB again.
BUG=464215
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1009513003
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions