Back to FabImage Library website
You are here: Start » Function Reference » Image Basics » SetImagePixels
Header: | FIL.h |
---|---|
Namespace: | fil |
Sets pixels of an image to the selected value.
Syntax
C++
C#
void fil::SetImagePixels ( fil::Image& ioImage, const ftl::Array<fil::Location>& inLocations, const fil::Pixel& inPixel )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
ioImage | Image& | |||
![]() |
inLocations | const Array<Location>& | Locations of the pixels to be set | |
![]() |
inPixel | const Pixel& | New pixel value |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Input location exceeds dimensions of an input image in SetImagePixels. |