Click or drag to resize

IBitmapImageForEachRgbPixel Method (FuncInt32, Int32, Int32, Int32, Int32, ValueTupleInt32, Int32, Int32)

Sets new R,G & B colours for the instance image, for pixels at x and y co-ordinates.

Namespace:  CohesiveComputing.Imaging
Assembly:  CohesiveComputing.BatchImagePro (in CohesiveComputing.BatchImagePro.dll) Version: 1.0.0
Syntax
C#
IBitmapImage ForEachRgbPixel(
	Func<int, int, int, int, int, (int , int , int )> func
)

Parameters

func
Type: SystemFuncInt32, Int32, Int32, Int32, Int32, ValueTupleInt32, Int32, Int32
(r, g, b, x, y)=>(r, g, b)

Return Value

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