Image colorspace

Aus Fachinformatiker Azubi
Zur Navigation springen Zur Suche springen

Get Colorspace

On Mac OS X

sips -g space file.jpg

On Linux:

identify -format '%[colorspace]' file.jpg
or
identify -verbose file.jpg | grep Colorspace

Note

find . -iname "*.jpg" -exec jpeginfo -c {} \; | grep -E "Unsupported color conversion request"
find . -iname "*.jpg" -exec file {} \; | grep -e "CMYK" | cut -d" " -f1