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

MacBook Pro 16” Mockups 🔥

– in 4 materials (clay versions included)

– 12 scenes

– 48 MacBook Pro 16″ mockups

– 6000 x 4500 px

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/

Master Retouching Hair

Learn how to rescue details, remove flyaways, add volume, and enhance the definition of hair in any photo. We break down every tool and technique in Photoshop to get picture-perfect hair, every time.

Related Discussion Topics

Nice and short text about related topics in discussion sections