[cairo-commit] src/cairo-pdf-surface.c

Adrian Johnson ajohnson at kemper.freedesktop.org
Sat Nov 28 16:14:20 PST 2009


 src/cairo-pdf-surface.c |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 9ddf14cfd5c3bf0cf507cfc82b192f5c46f66f9a
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Sun Nov 29 10:40:18 2009 +1030

    PDF: Don't specify colorspace in JPEG2000 image dictionary
    
    PDF uses the colorspace specified in the JPEG2000 image.

diff --git a/src/cairo-pdf-surface.c b/src/cairo-pdf-surface.c
index e8335f0..a1be10a 100644
--- a/src/cairo-pdf-surface.c
+++ b/src/cairo-pdf-surface.c
@@ -2001,7 +2001,6 @@ _cairo_pdf_surface_emit_jpx_image (cairo_pdf_surface_t   *surface,
 					     "   /Subtype /Image\n"
 					     "   /Width %d\n"
 					     "   /Height %d\n"
-					     "   /ColorSpace /DeviceRGB\n"
 					     "   /Filter /JPXDecode\n",
 					     info.width,
 					     info.height);


More information about the cairo-commit mailing list