 | IBitmapImageReduceDistortion Method |
Reduces either barrel or pin cushion distortion.
Namespace:
CohesiveComputing.Imaging
Assembly:
CohesiveComputing.BatchImagePro (in CohesiveComputing.BatchImagePro.dll) Version: 1.0.0
SyntaxIBitmapImage ReduceDistortion(
float correction,
Interpolation interpolation
)
Parameters
- correction
- Type: SystemSingle
0 equals no change. Use positive values for barrel distortion, negative for pin cusion distortion. - interpolation
- Type: CohesiveComputing.ImagingInterpolation
Interpolation type.
Return Value
Type:
IBitmapImageA new image instance with effect applied.
See Also