Bug 690278 - Can't create CMYK separate 1 Bit/Sample TIFF files
Summary: Can't create CMYK separate 1 Bit/Sample TIFF files
Status: RESOLVED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: General (show other bugs)
Version: 8.63
Hardware: PC Windows XP
: P4 enhancement
Assignee: Ray Johnston
URL:
Keywords: bountiable
Depends on:
Blocks:
 
Reported: 2009-02-09 01:44 UTC by Xi Wang
Modified: 2010-01-15 10:42 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xi Wang 2009-02-09 01:44:40 UTC
Currently TIFFSEP can only create CMYK Separte TIFFs in grayscale , can't 
create 1 bit/sample CMYK Separate TIFFs.event with the -dBitsPerSample=1 
setting.
Comment 1 Ray Johnston 2009-02-09 09:01:00 UTC
This is probably not very difficult, but I recommend that, for consistency with
the 'bit***' devices and the ppmraw devices, the -dGrayValues= value be used.

While some devices described in 'doc/Devices.htm' use BitsPerSample and
BitsPerPixel, it would be better to stick to -dGrayValues= since this is
described in doc/Use.htm, which is a more general document, and is more likely
to be "discovered" by users.

For a bounty solution, I'd like to see the documentation in doc/Devices.htm
for the tiffsep device as well as improved documentation in the doc/Use.htm
section.

Note that in the meantime, programs such as ImageMagick 'convert' can be used
in a separate step to dither the gray images down to 1-bit per pixel.
For example,

convert bits-8.tif -ordered-dither o8x8 -depth 1 bits-1.tif
Comment 2 Xi Wang 2009-02-10 23:47:43 UTC
Currently is there any way to create CMYK Separate mono TIFF files?
I tried -dGrayValues BitsPerPixel and -BitsPerSample. all dosen't work,
I also tried to set Dithering Type as gsmono. No help either.

So currently for TIFF* device, no paramter can change the sample depth.
Is that correct?
Comment 3 Ray Johnston 2010-01-15 10:42:23 UTC
I created the 'tiffsep1' device that creates 1-bit per pixel separations,
including CMYK and any named separations. I recommend rev 10394 or later
(that's the most recent change specific to tiffsep1).