You are here: Start » AVL.NET » Function Reference » Image » Image Basics » AVL.GetImageData

AVL.GetImageData

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void GetImageData
(
	AvlNet.Image inImage,
	AvlNet.ByteBuffer outBuffer
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
outBufferAvlNet.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.

Function Overrides

See also