PHP Question
PHP Question
- Started
- Last post
- 4 Responses
- ********
Anyone know of a way to get channel info from a JPG? ie - check to to see if it's rgb or cmyk?
- fyvp0
Search within the following page for "function _parseJPG." It should give you what you need.
- nicnichols0
Are yoiu in Mac OS? The 'get info' function lists the color space, (cmy o. rgb) in the info.. don't know if windows does...
- acescence0
getimagesize() will return an array containing a channels index for jpg images. it will be 3 for rgb images, 4 for cmyk.
- ********0
fyvp - thank you. Perfect!