SetImagePixels
Sets multiple pixels of an image to the selected value (all the pixels get the same value).
Syntax
C++
Python
def SetImagePixels( ioImage: Image, inLocations: list[Location], inPixel: Pixel, / ) -> None
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
ioImage | Image | ||
![]() |
inLocations | list[Location] | Locations of the pixels to be set | |
![]() |
inPixel | Pixel | New pixel value |


