ImageGear for Java
getMax Method
Returns a 32-bit integer, representing max value of the channel.

This value represents the 32-bit integer maximum value of the image channel. Internal value is stored as a 64-bit integer. If the stored number exceeds the 32-bit integer range, an attempt to get the getMax() method throws com.accusoft.imagegear.core.ImGearErrorCodes.PARAMETER_HAS_INVALID_VALUE exception.

Use getMax64 method if you are working with 32-bit per channel images.

com.accusoft.imagegear.core.ImGearErrorCodes

Syntax
public int getMax()

Return Value

32-bit Integer number.
See Also

Reference

ImGearChannelStatistics Class
ImGearChannelStatistics Members

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback