Click or drag to resize

IBitmapImageDifference Method

Performs arithmetic subtraction from instance image. Negative results are forced to positive.

Namespace:  CohesiveComputing.Imaging
Assembly:  CohesiveComputing.BatchImagePro (in CohesiveComputing.BatchImagePro.dll) Version: 1.0.0
Syntax
C#
IBitmapImage Difference(
	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
NotSupportedExceptionOperation not supported for implementation of argument diffImage.
InvalidOperationExceptionThe diffImage must have the same dimensions as this instance image.
See Also