ImageGear v26.0 - Updated
ImageIsGray Method




ImageGear.Core Assembly > ImageGear.Processing Namespace > ImGearRasterProcessing Class : ImageIsGray Method
Image to test.
Returns true if either the image has GrayScale color space or its palette is gray or inverted gray.
Syntax
'Declaration
 
Public Shared Function ImageIsGray( _
   ByVal page As ImGearRasterPage _
) As Boolean
'Usage
 
Dim page As ImGearRasterPage
Dim value As Boolean
 
value = ImGearRasterProcessing.ImageIsGray(page)
public static bool ImageIsGray( 
   ImGearRasterPage page
)
public: static bool ImageIsGray( 
   ImGearRasterPage* page
) 
public:
static bool ImageIsGray( 
   ImGearRasterPage^ page
) 

Parameters

page
Image to test.

Return Value

Boolean value.
Remarks
This method returns true if either of the two conditions are met:
Example
See Also

Reference

ImGearRasterProcessing Class
ImGearRasterProcessing Members
ImGearRasterPage Class

Is this page helpful?
Yes No
Thanks for your feedback.