Back to FabImage Library Lite website

You are here: Start » Image » Image Basics » SetMultipleImagePixels

SetMultipleImagePixels


Header: FIL.h
Namespace: fil

Sets pixels of an image to the selected values (each pixel gets another value).

Syntax

void fil::SetMultipleImagePixels
(
	fil::Image& ioImage,
	const ftl::Array<fil::Location>& inLocations,
	const ftl::Array<fil::Pixel>& inPixels
)

Parameters

Name Type Default Description
Input will be modified
ioImage Image&
Input value
inLocations const Array<Location>& Locations of the pixels to be set
Input value
inPixels const Array<Pixel>& New pixel values

Errors

List of possible exceptions:

Error type Description
DomainError Input location exceeds dimensions of an input image in SetMultipleImagePixels.