ImageGearJava Project > com.accusoft.imagegear.processing Package > ImGearRasterProcessing Class > equalizeContrast Method : equalizeContrast(ImGearRasterPage,ImGearContrastModes,ImGearChannelRange) Method |
If image is Indexed and not grayscale, modifies image's palette, otherwise modifies image's pixels. Processes only color channels.
It 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 ImGearRasterProcessingVerifier.canApplyEqualizeContrast method to check whether the operation can be performed.
public static void equalizeContrast( ImGearRasterPage page, ImGearContrastModes mode, ImGearChannelRange channels ) |
If image is Indexed and not grayscale, modifies image's palette, otherwise modifies image's pixels. Processes only color channels.
It 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 ImGearRasterProcessingVerifier.canApplyEqualizeContrast method to check whether the operation can be performed.