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