I convert RGB and CMYK TIFF images to RGB JPEGs using
convert a.tif -colorspace rgb a.jpg
If the TIFF image contains only gray pixels, the colorspace of the resulting JPEG is gray, not RGB.
How can I force ImageMagick to always use RGB?
grayscaleimagemagickrgb
I convert RGB and CMYK TIFF images to RGB JPEGs using
convert a.tif -colorspace rgb a.jpg
If the TIFF image contains only gray pixels, the colorspace of the resulting JPEG is gray, not RGB.
How can I force ImageMagick to always use RGB?
Best Answer
Try this:
However, I have to ask: How exactly do you determine your verdict 'colorspace of resulting JPEG is gray, not RGB'?!?
The ImageMagick tool
identify
can look at the colorspace used by files. If you haveconvert
, then you'll haveidentify
too:Example output: