GetImageData


Extracts the image content (raw pixel data) as a binary buffer.

Syntax

C++
Python
 
def GetImageData(
	inImage: Image,
	outBuffer: ByteBuffer,
	/,
	*,
	inPitch: int | None = None
)
-> None

Parameters

Name Type Range Default Description
Input value inImage Image Input image
Input value inPitch int | None 0 - None Length, in bytes, between starts of consecutive image rows for the resulting data
Output value outBuffer ByteBuffer