ImageGearJava Project > com.accusoft.imagegear.processing Package > ImGearRasterProcessing Class > adjustContrast Method : adjustContrast(ImGearRasterPage,double,double,double) Method |
If the image is indexed and not grayscale, it modifies the image's palette, otherwise it modifies the image's pixels. Processes only color channels. Contrast mode is ImGearContrastModes.AUTO.
Average parameter range:
Can be applied only to the raster pages with standard (non Run-Ends) DIB.
Method ImGearRasterProcessing.Verifier.CanApplyAdjustContrast (ImGearPage page)
can be called to check whether the operation can be performed.
public static void adjustContrast( ImGearRasterPage page, double contrast, double brightness, double gamma ) |
If the image is indexed and not grayscale, it modifies the image's palette, otherwise it modifies the image's pixels. Processes only color channels. Contrast mode is ImGearContrastModes.AUTO.
Average parameter range:
Can be applied only to the raster pages with standard (non Run-Ends) DIB.
Method ImGearRasterProcessing.Verifier.CanApplyAdjustContrast (ImGearPage page)
can be called to check whether the operation can be performed.