 | IBitmapImageForEachIPixel Method (FuncInt32, Int32, Int32, Int32, Int32, Int32) |
Sets new brightness levels for the instance image,
for pixels at x and y co-ordinates, and exposes all immediate neighbour
pixels in a clockwise order (i.e. Centre, {N, NE, E, SE, ..., NW}).
Namespace:
CohesiveComputing.Imaging
Assembly:
CohesiveComputing.BatchImagePro (in CohesiveComputing.BatchImagePro.dll) Version: 1.0.0
SyntaxIBitmapImage ForEachIPixel(
Func<int, int, int, int[], int> func,
int nonPixelValue
)
Parameters
- func
- Type: SystemFuncInt32, Int32, Int32, Int32, Int32
(i, x, y, n)->i - nonPixelValue
- Type: SystemInt32
The value to use for neighbour pixels that fall outside of the image perimeter.
Return Value
Type:
IBitmapImageA new image instance with effect applied.
Exceptions
See Also