correctGamma method
Applies a gamma correction to the image.
param contrast Contrast coefficient, from -255 to 255, to be applied to the image. param brightness Brightness coefficient, from -255 to 255, to be applid to the image. param gamma Gamma coefficient, from 0.25 to 2.50, to be applied to the image. throws DocumentException An error has occurred during Document Library execution.
Implementation
void correctGamma(int contrast, int brightness, double gamma) {
var err = documentSDK.id3DocumentImage_CorrectGamma(_pHandle.value, contrast, brightness, gamma);
if (err != DocumentError.success.value) {
throw DocumentException(err);
}
}