summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorJUN FANG <jun_fang@foxitsoftware.com>2015-03-16 12:10:04 -0700
committerJUN FANG <jun_fang@foxitsoftware.com>2015-03-16 12:10:04 -0700
commit5a0e504d53195892458d819e52c62bea0c710bd5 (patch)
treefdfafe2d4ee850006bd51b5b89b1c16b3055aa81 /samples
parentcd3c4764b87323ec7b712e537d18292d849611b9 (diff)
downloadpdfium-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 'samples')
0 files changed, 0 insertions, 0 deletions