You are here: Start » FIL.NET » Function Reference » Image » Image Basics » FIL.GetImageData
Extracts the image content (raw pixel data) as a binary buffer.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void GetImageData ( FilNet.Image inImage, int? inPitch, FilNet.ByteBuffer outBuffer )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | FilNet.Image | Input image. | ||
![]() | inPitch | int? | <0, INF> | Length, in bytes, between starts of consecutive image rows for the resulting data. Default value: ftl::NIL. | |
![]() | outBuffer | FilNet.ByteBuffer |
Errors
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. |