You are here: Start » AVL.NET » AVS.LoadImageFromBuffer Method

AVS.LoadImageFromBuffer Method

Loads a single image from a file stored in memory.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void LoadImageFromBuffer
(
	AvlNet.ByteBuffer inBuffer,
	int inOffset,
	int? inLength,
	bool inLoadAlphaChannel,
	AvlNet.Image outImage
)

Parameters

Name Type Range Default Description
inBufferAvlNet.ByteBufferSource buffer containing image file data.
inOffsetint0Image data start position in source buffer. Default value: 0.
inLengthint?Image data length in source buffer. Default value: atl::NIL.
inLoadAlphaChannelboolWhether to load the alpha channel (if exists) as an additional image channel.
outImageAvlNet.ImageOutput image.

Function Overrides

See also