IsGrayscale Method
IsGrayscale()
Determines whether the image contains only opaque grayscale pixels.
Declaration
public bool IsGrayscale()
Public Function IsGrayscale() As Boolean
Returns
| Type |
Description |
| bool |
true if all pixels in the image are grayscale,
false if there are other colors.
|