Hm, identify -verbose works and shows the colorspace, but %[colorspace] shows nothing (blank line). I tried with Version: ImageMagick 6.3.7 05/02/08 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC and Version: ImageMagick 6.2.4 02/10/07 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2005 ImageMagick Studio LLC on debian. Andreas Am Mi, 28.05.2008, 10:41, schrieb Lars Tore Gustavsen: > On Wed, May 28, 2008 at 10:16 AM, Geert Janssens <info@xxxxxxxxxxxx> wrote: >> I have what should be a simple question: >> What program can I use under linux to see whether a picture is CMYK or RGB ? >> >> I have a lot of images on my computer. Some of them are CMYK, some are RGB. >> The problem is, I don't know which ones are what. My local photo lab seems >> to >> be unable to reproduce CMYK images on paper (what an upside-down world eh ?) >> >> So basically, I would like to open an image, and read in it's properties or >> something whether it's CMYK or RGB. >> > > A simple solution is imagemagick. Like this: > identify -format "%[colorspace]" filename > > http://www.imagemagick.org/script/escape.php > > Regards > Lars Tore Gustavsen > >