summaryrefslogtreecommitdiff
path: root/source/xps
diff options
context:
space:
mode:
authorSimon Bünzli <zeniko@gmail.com>2013-08-16 23:28:28 +0200
committerRobin Watts <robin.watts@artifex.com>2013-08-28 13:35:55 +0100
commit5127d6fe0fb46f4baf0b67dc8c966cc8cc676475 (patch)
tree9536097471536a486eaa9e8653562e16513fadaf /source/xps
parenta6772e77b84a59b59ffdf501f9c5991fbcec4a3d (diff)
downloadmupdf-5127d6fe0fb46f4baf0b67dc8c966cc8cc676475.tar.xz
invert color transformed CMYK JPEG images
This fixes among others 693274 - cmyk jpeg image.xps from bug 693274.
Diffstat (limited to 'source/xps')
-rw-r--r--source/xps/xps-image.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/xps/xps-image.c b/source/xps/xps-image.c
index cff7860d..9b2aefcb 100644
--- a/source/xps/xps-image.c
+++ b/source/xps/xps-image.c
@@ -110,6 +110,7 @@ xps_parse_image_brush(xps_document *doc, const fz_matrix *ctm, const fz_rect *ar
fz_try(doc->ctx)
{
image = xps_load_image(doc->ctx, part);
+ image->invert_cmyk_jpeg = 1;
}
fz_always(doc->ctx)
{