You are here: Start » AVL.NET » Invoke.LoadImageFromBuffer

Invoke.LoadImageFromBuffer

Loads a single image from a file stored in memory.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void LoadImageFromBuffer
(
	Avl.ByteBuffer inBuffer,
	int inOffset,
	Optional<int> inLength,
	bool inLoadAlphaChannel,
	Avl.Image outImage
)

Parameters

Name Type Range Default Description
inBufferAvl.ByteBufferSource buffer containing image file data.
inOffsetint0Image data start position in source buffer. Default value: 0.
inLengthAtl.Optional<int>Image data length in source buffer. Default value: atl::NIL.
inLoadAlphaChannelboolWhether to load the alpha channel (if exists) as an additional image channel.
outImageAvl.ImageOutput image.

See also