What program can I use under linux to see whether a picture is CMYK or RGB ?
Lars Tore Gustavsen wrote:
A simple solution is imagemagick. Like this:
identify -format "%[colorspace]" filename
another option for tiffs is tiffinfo (part of libtiff)
e.g.
tiffinfo input.tif | grep "Photometric Interpretation:"
returns
" Photometric Interpretation: RGB color"
for RGB images and
" Photometric Interpretation: separated"
for CMYK images
Klaus