Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Hi, just wondering if this behaviour is expected? If I ping the image it always says it's in Greyscale, even though the file is not. If I read the entire image, it correctly returns false.
I get the same true/false result with any RGB file I try.
Ping() is light-weight and only reads the image meta-data but not the image pixels. Therefore the attributes associated with the pixels are undefined. If you want to attributes associated with the image pixels, use Read() instead of Ping().
Is there anyway I can tell if an Image is a greyscale one without read'ing the entire image? As I'm dealing with some large images, this gets very slow.
How come this behaves as expected in prior versions? Does ping actually load the image data in those cases?