ImageGearJava Project > com.accusoft.imagegear.processing Package > ImGearRasterProcessing Class > adjustContrast Method : adjustContrast(ImGearRasterPage,double,double,double,ImGearContrastModes,ImGearChannelRange) Method |
Processes the specified range of channels.
Can be applied only to the raster pages with standard (non Run-Ends) DIB.
If ContrastMode is equal to ImGearContrastModes.PALETTE, DIB must have a palette.
Use ImGearRasterProcessingVerifier.canApplyInvertContrast method to check whether the operation can be performed.
com.accusoft.imagegear.processing.ImGearContrastOptionsT:com.accusoft.imagegear.core.ImGearChannelRangecom.accusoft.imagegear.core.ImGearRasterPage
public static void adjustContrast( ImGearRasterPage page, double contrast, double brightness, double gamma, ImGearContrastModes mode, ImGearChannelRange channels ) |
Processes the specified range of channels.
Can be applied only to the raster pages with standard (non Run-Ends) DIB.
If ContrastMode is equal to ImGearContrastModes.PALETTE, DIB must have a palette.
Use ImGearRasterProcessingVerifier.canApplyInvertContrast method to check whether the operation can be performed.
com.accusoft.imagegear.processing.ImGearContrastOptionsT:com.accusoft.imagegear.core.ImGearChannelRangecom.accusoft.imagegear.core.ImGearRasterPage