Page 1 of 1

Converting TIFF to Grayscale results in sRGB colorspace

Posted: 2013-01-08T04:54:13-07:00
by dschroeder
Hey there,

I am trying to convert a TIFF image to "colorspace Gray" with the following command:

Code: Select all

$ convert -compress none -depth 8 -colorspace Gray input.tif +profile icc,icm output.tif
After analysing the colorspace afterwards with:

Code: Select all

$ identify -format "%[colorspace]" output.tif
Identify tells me, that the resulting TIFF is in sRGB colorspace. It seems that ImageMagick can not save TIFF files in Gray colorspace. I need this uncompressed 8-bit TIFF because it will be embedded into a CMYK PDF preserving the paths defined in the TIFF.
I use ImageMagick 6.7.6-10.

Is there any way to produce TIFF files in Gray colorspace?

Re: Converting TIFF to Grayscale results in sRGB colorspace

Posted: 2013-01-08T08:23:09-07:00
by snibgo
Your version of IM is about the time that IM started getting colorspaces correct. Your conversion works in 6.7.9. I suggest you upgrade.

Re: Converting TIFF to Grayscale results in sRGB colorspace

Posted: 2013-01-09T05:23:15-07:00
by dschroeder
Thank you for your reply. I will retry the work flow after the upgrade.