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 | |
|---|---|---|---|---|---|
![]() |
inImage | Image | Input image | ||
![]() |
inPitch | int | None | 0 - ![]() |
None | Length, in bytes, between starts of consecutive image rows for the resulting data |
![]() |
outBuffer | ByteBuffer |



