Page 1 of 1

Check if image is RGB or CMYK color format

Posted: Wed Mar 24, 2010 8:44 am
by Sindarin
From time to time, some client will upload a photo in his cms that is in CMYK color format and the image will not show up in the browser.
Is there any way to check if an image is RGB or CMYK format with php?

Re: Check if image is RGB or CMYK color format

Posted: Wed Mar 24, 2010 8:56 am
by requinix
Take a good look at getimagesize.