Back to FabImage Library website
You are here: Start » Function Reference » Image » Image Basics » SetImagePixel
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Sets a pixel of an image to the selected value.
Syntax
C++
C#
void fil::SetImagePixel ( fil::Image& ioImage, const fil::Location& inLocation, const fil::Pixel& inPixel )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
ioImage | Image& | ||
![]() |
inLocation | const Location& | Location of the pixel 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 SetImagePixel. |