From 5127d6fe0fb46f4baf0b67dc8c966cc8cc676475 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20B=C3=BCnzli?= Date: Fri, 16 Aug 2013 23:28:28 +0200 Subject: invert color transformed CMYK JPEG images This fixes among others 693274 - cmyk jpeg image.xps from bug 693274. --- source/xps/xps-image.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/xps') 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) { -- cgit v1.2.3