From e5399c12efc8b853f9e76050f6fc1ad697bff392 Mon Sep 17 00:00:00 2001 From: ulferikson Date: Sun, 13 Aug 2006 13:43:50 +0000 Subject: [PATCH] Fixed: Wrong colour space was used in images with transparency. --- src/extension/internal/pdf-mini.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/extension/internal/pdf-mini.h b/src/extension/internal/pdf-mini.h index 3b68ac66b..3ca529f7e 100644 --- a/src/extension/internal/pdf-mini.h +++ b/src/extension/internal/pdf-mini.h @@ -245,6 +245,11 @@ PdfObject *PdfFile::begin_page(double x0, double y0, double x1, double y1) { << " /MediaBox [ " << x0 << " " << y0 << " " << x1 << " " << y1 << " ]\n" << " /Resources " << obj_resources->get_id() << " 0 R\n" << " /Contents " << obj_contents->get_id() << " 0 R\n" + << " /Group\n" + << " << /Type /Group\n" + << " /S /Transparency\n" + << " /CS /DeviceRGB\n" + << " >>\n" << ">>\n"; end_object(obj_page); puts(obj_page); -- 2.30.2