[gs-commits] rev 11518 - trunk/gs/Resource/Init

alexcher at ghostscript.com alexcher at ghostscript.com
Sun Jul 18 00:03:38 UTC 2010


Author: alexcher
Date: 2010-07-18 00:03:37 +0000 (Sun, 18 Jul 2010)
New Revision: 11518

Modified:
   trunk/gs/Resource/Init/pdf_draw.ps
Log:
Recognize enumerated color space #12 as CMYK following JPX baseline spec.


Modified: trunk/gs/Resource/Init/pdf_draw.ps
===================================================================
--- trunk/gs/Resource/Init/pdf_draw.ps	2010-07-17 21:23:39 UTC (rev 11517)
+++ trunk/gs/Resource/Init/pdf_draw.ps	2010-07-18 00:03:37 UTC (rev 11518)
@@ -1025,11 +1025,15 @@
 } bind def
 
 /jp2_csp_dict <<
-  16 { /DeviceRGB } bind
-  % 16 {/sRGBICC /ColorSpace findresource} bind
-  18 1 index  % YCC is converted to RGB
-  % 17 { /sGray /ColorSpace findresource } bind
-  17 { /DeviceGray } bind
+  12 { /DeviceCMYK } bind  % CMYK
+% 14                       % LAB
+  16 { /DeviceRGB } bind   % sRGB {/sRGBICC /ColorSpace findresource}
+  17 { /DeviceGray } bind  % Gray {/sGray /ColorSpace findresource}
+  18 3 index               % YCC is converted to RGB
+% 19                       % CIEJab not supportec by PDF 1.7
+% 20                       % e-sRGB
+% 21                       % ROMMRGB
+% 24                       % e-sYCC
 >> readonly def
  
 % Process jp2 blocks (aka boxes). All procedures have the signature



More information about the gs-commits mailing list