 | IBitmapImageSubtract Method (IBitmapImage, Single) |
Performs arithmetic subtraction from instance image. Applies brightness scale factor to image2 before subtracting.
Negative results are forced to 0 (black).
Namespace:
CohesiveComputing.Imaging
Assembly:
CohesiveComputing.BatchImagePro (in CohesiveComputing.BatchImagePro.dll) Version: 1.0.0
SyntaxIBitmapImage Subtract(
IBitmapImage diffImage,
float brightnessScale
)
Parameters
- diffImage
- Type: CohesiveComputing.ImagingIBitmapImage
Image to subtract. Must have same dimensions as instance image. - brightnessScale
- Type: SystemSingle
1.0 indicates no change in brightness.
Return Value
Type:
IBitmapImageA new image instance with effect applied.
Exceptions
See Also