Bug 692204 - Rendering of DeviceGray Colormodel produces Undercolor in CMYK Devices
Summary: Rendering of DeviceGray Colormodel produces Undercolor in CMYK Devices
Status: NOTIFIED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Client API (show other bugs)
Version: master
Hardware: PC Windows XP
: P2 normal
Assignee: Michael Vrhel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-12 14:00 UTC by Thomas
Modified: 2011-11-25 04:44 UTC (History)
1 user (show)

See Also:
Customer: 582
Word Size: ---


Attachments
Simple DeviceGray Test PS (375 bytes, application/postscript)
2011-05-12 14:00 UTC, Thomas
Details
Small PDF with DeviceGray Image (50.94 KB, application/pdf)
2011-07-27 16:16 UTC, Thomas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas 2011-05-12 14:00:17 UTC
Created attachment 7502 [details]
Simple DeviceGray Test PS

If Objects (Text, Vector, Image), defined as DeviceGray are rendered with an DeviceCMYK Device (tiff32nc, tiff64nc, tiffsep) the DeviceGray Color is mapped to all of the CMYK Separations.

Even if "-dNOSUBSTDEVICECOLORS" is used.

Commandline for testing:
gswin32.exe ^
-sDEVICE=tiffsep ^
-r72 ^
-o "C:\myCMYK_DeviceGray.tif" ^
"c:\DeviceGray.ps"
Comment 1 Ray Johnston 2011-05-12 16:55:24 UTC
Probably a matter of selecting the correct output profile.

Note that object type specific profiles are in work, expected to be done
"Real Soon Now"
Comment 2 Michael Vrhel 2011-07-23 14:18:31 UTC
Fixed with http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=d3302b1176683dc9e4cb5cb8ed9f42bffa0888ee.  

To return to composite black output, (which makes use of the assigned target CMYK
ICC profile) use the command line option -dDeviceGrayToKOff or set the device parameter DeviceGrayToKOff to true
Comment 3 Thomas 2011-07-27 16:14:31 UTC
Michael, great this works now for Vector, etc.

But not if a DeviceGray Image is rendered with high resolutions.

Commandline for testing wich works:
gswin32.exe ^
-sDEVICE=tiffsep ^
-r72 ^
-o "C:\myCMYK_DeviceGray.tif" ^
"c:\DeviceGray_Image.pdf"

Commandline for testing wich does not:
gswin32.exe ^
-sDEVICE=tiffsep ^
-r720 ^
-o "C:\myCMYK_DeviceGray.tif" ^
"c:\DeviceGray_Image.pdf"
Comment 4 Thomas 2011-07-27 16:16:20 UTC
Created attachment 7719 [details]
Small PDF with DeviceGray Image
Comment 5 Michael Vrhel 2011-07-27 17:07:15 UTC
I am working on a fix for this and it will be in place shortly.