JPG files > RGB or CMYK?

P
Posted By
photoprochad
Jan 31, 2006
Views
435
Replies
1
Status
Closed
The company I work for has a database of around 1,000,000 JPG images. We take RGB images, convert them to CMYK, process and print them. The original files to be kept in the database are supposed to remain RGB. We believe that there was a problem with our archival process which may have filtered a significant number of CMYK formatted images back into our archive.

We need to find the CMYK images and delete them but leave all RGB images intact. Obviously with a million files, this would be a daunting task to open each one to determine its format.

Does anyone know of a software tool that can determine whether images are RGB or CMYK either without opening them or by batch processing and listing results?

Thanks in advance
Chad

How to Master Sharpening in Photoshop

Give your photos a professional finish with sharpening in Photoshop. Learn to enhance details, create contrast, and prepare your images for print, web, and social media.

OT
Ole Trenner
Feb 4, 2006
photoprochad schrieb:
The company I work for has a database of around 1,000,000 JPG images. We take RGB images, convert them to CMYK, process and print them. The original files to be kept in the database are supposed to remain RGB. We believe that there was a problem with our archival process which may have filtered a significant number of CMYK formatted images back into our archive.

We need to find the CMYK images and delete them but leave all RGB images intact. Obviously with a million files, this would be a daunting task to open each one to determine its format.

Does anyone know of a software tool that can determine whether images are RGB or CMYK either without opening them or by batch processing and listing results?

Thanks in advance
Chad

You can try the "identify" program from the imagemagick suite [1], available for Win32, Linux and MacOS9. In "verbose" mode it can identify a jpeg’s color space:

ole ~ $ identify -verbose test1.jpg | grep Colorspace
Colorspace: RGB
JPEG-Colorspace: 2
ole ~ $ identify -verbose test2.jpg | grep Colorspace
Colorspace: CMYK
JPEG-Colorspace: 4

It is used from command line and can therefore be easily used from a script or something like that.

Ole.

[1] ImageMagick: http://www.imagemagick.org/

How to Improve Photoshop Performance

Learn how to optimize Photoshop for maximum speed, troubleshoot common issues, and keep your projects organized so that you can work faster than ever before!

Related Discussion Topics

Nice and short text about related topics in discussion sections