How to detect whether uploaded image is color or not ?

MagickWand for PHP is an object-oriented PHP interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning MagickWand for PHP.
Post Reply
2levelsabove

How to detect whether uploaded image is color or not ?

Post by 2levelsabove » 2008-03-31T10:36:45-07:00

Thanks

2levelsabove

Re: How to detect whether uploaded image is color or not ?

Post by 2levelsabove » 2008-04-01T09:11:23-07:00

anyone ??

:shock:

User avatar
fmw42
Posts: 25150
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: How to detect whether uploaded image is color or not ?

Post by fmw42 » 2008-05-23T21:33:08-07:00

In command line mode, you can use the colorspace fx escape. see http://www.imagemagick.org/script/escape.php

I don't know MagicWand for PHP so cannot help translate for you.

Post Reply