Back to FabImage Library website

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

SetMultipleImagePixels


Header: FIL.h
Namespace: fil
Module: FoundationLite

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

Syntax

C++
C#
 
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.