Click or drag to resize

IBitmapImageAdd Method (IBitmapImage, Single)

Performs arithmetic add of image2 to instance. Applies brightness scale factor to image2 before adding.

Namespace:  CohesiveComputing.Imaging
Assembly:  CohesiveComputing.BatchImagePro (in CohesiveComputing.BatchImagePro.dll) Version: 1.0.0
Syntax
C#
IBitmapImage Add(
	IBitmapImage image2,
	float brightnessScale
)

Parameters

image2
Type: CohesiveComputing.ImagingIBitmapImage
Image to add. Must have same dimensions as instance image.
brightnessScale
Type: SystemSingle
A value of 1.0 indicates no change in brightness.

Return Value

Type: IBitmapImage
A new image instance with effect applied.
Exceptions
ExceptionCondition
ArgumentNullExceptionimage2.
NotSupportedExceptionOperation not supported for implementation of argument image2.
ArgumentExceptionImage dimensions mis-match. - image2
ArgumentOutOfRangeExceptionbrightnessScale
See Also