Start » Filter Reference » Image » Image Basics » GetImageData
Module: | FoundationLite |
---|
Extracts the image content (raw pixel data) as a binary buffer.
Name | Type | Range | Description | |
---|---|---|---|---|
inImage | Image | Input image | ||
inPitch | Integer* | 0 - | Length, in bytes, between starts of consecutive image rows for the resulting data | |
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.