summaryrefslogtreecommitdiff
path: root/platform/android/build.xml
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2014-05-06 13:05:04 +0200
committerTor Andersson <tor.andersson@artifex.com>2014-05-06 13:05:04 +0200
commitae20681b54c54755d14cd4631ed13b2a19eeaa67 (patch)
tree853e4e32f5a64774167c2f7ab5d687bd20b78995 /platform/android/build.xml
parent68e0819c1ad2475e822825e8510a7bd9d0420d61 (diff)
downloadmupdf-ae20681b54c54755d14cd4631ed13b2a19eeaa67.tar.xz
Fix 694909: revert "Force colorspaces to match with JPX images." and ...
... instead convert a JPEG2000 used as a soft mask into grayscale. This is more robust than trusting the PDF specified colorspace over the internal JPX colorspace. The spec implies that in a colorspace conflict, the internal JPX colorspace should be used. The PDF colorspace may be a DeviceN or Separation colorspace. DeviceN and Separation colorspaces are not valid destination colorspaces, so we may not always be able to convert the internal JPX colorspace into the PDF specified colorspace. Converting from the internal colorspace into grayscale is more robust, and solves the issue that the original commit was intended to fix.
Diffstat (limited to 'platform/android/build.xml')
0 files changed, 0 insertions, 0 deletions