Click or drag to resize

IBitmapImageSubtract Method (IBitmapImage)

Performs arithmetic subtraction from instance image. Negative results are forced to 0 (black).

Namespace:  CohesiveComputing.Imaging
Assembly:  CohesiveComputing.BatchImagePro (in CohesiveComputing.BatchImagePro.dll) Version: 1.0.0
Syntax
C#
IBitmapImage Subtract(
	IBitmapImage diffImage
)

Parameters

diffImage
Type: CohesiveComputing.ImagingIBitmapImage
Image to subtract. Must have same dimensions as instance image.

Return Value

Type: IBitmapImage
A new image instance with effect applied.
Exceptions
ExceptionCondition
ArgumentNullExceptiondiffImage
See Also