SetImageRow


Sets pixel values in a single entire row of an image.

Applications:Allows for creating images from calculated real values.

Syntax

C++
Python
 
def SetImageRow(
	ioImage: Image,
	inRowIndex: int,
	inValues: list[float],
	/,
	*,
	inChannelIndex: int | None = None
)
-> None

Parameters

Name Type Range Default Description
Input will be modified ioImage Image
Input value inChannelIndex int | None 0 - 3 None Selects a channel of the input image
Input value inRowIndex int 0 - 65535 Selects a row of the input image
Input value inValues list[float] New values for specified row