ImageGear for Java
imageIsGray Method
Image to test.
Returns true if either the image has GrayScale color space or its palette is gray or inverted gray.
Syntax
public static boolean imageIsGray( 
   ImGearRasterPage page
)

Parameters

page
Image to test.

Return Value

Boolean value.

This method returns true if either of the two conditions are met:

  • Image has grayscale color space.
  • Image has indexed color space, and palette is either linear gray, or inverted gray.

com.accusoft.imagegear.core.ImGearRasterPage

See Also

Reference

ImGearRasterProcessing Class
ImGearRasterProcessing Members

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback