Start » Filter Reference » Image » Image Basics » GetImageData

GetImageData


Module: FoundationLite

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

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

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Pitch value is too small for the source image width and pixel format.
RuntimeError Invalid image format in GetImageData.
RuntimeError Resulting byte buffer size is too large.

Complexity Level

This filter is available on Expert Complexity Level.