亮度对比度是有的。我分别给出。
亮度调整:ChangeIntensityCommand
使用方法:
// Prepare the command
ChangeIntensityCommand command = new ChangeIntensityCommand();
//Increase the brightness by 25 percent of the possible range.
command.Brightness = 250;
command.Run(image);
详细介绍请参考:https://www.leadtools.com/help/l ... tensitycommand.html
对比度调整:ChangeContrastCommand
使用方法:
// Prepare the command
ChangeContrastCommand command = new ChangeContrastCommand();
//Increase the contrast by 25 percent of the possible range.
command.Contrast = 250;
command.Run(image);
详细介绍请参考:https://www.leadtools.com/help/l ... ontrastcommand.html
具体的函数是哪个?是这样写吗?
Dim img As Bitmap = Bitmap.FromFile(filePath)
Dim _rasterCodecs As RasterCodecs = New RasterCodecs()
Dim pageImage As RasterImage = _rasterCodecs.load(img)