Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

GMImage.IsGray

Checks whether all pixels are gray.

Component Version macOS Windows Linux Server iOS SDK
GraphicsMagick 8.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "GMImage.IsGray"; ImageRef )   More

Parameters

Parameter Description Example
ImageRef The image reference number. 1

Result

Returns value or error.

Description

Checks whether all pixels are gray.
Returns 1 for gray or 0 if one pixel at least is not gray.

Release notes

Blog Entries

This function checks for a license.

Created 4th July 2018, last changed 28th November 2019


GMImage.InvertChannel - GMImage.IsLoggingEnabled