You are here: Start » AVL.NET » 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 | |
---|---|---|---|---|---|
![]() | inBuffer | Avl.ByteBuffer | Source buffer containing image file data. | ||
![]() | inOffset | int | 0 | Image data start position in source buffer. Default value: 0. | |
![]() | inLength | Atl.Optional<int> | Image data length in source buffer. Default value: atl::NIL. | ||
![]() | inLoadAlphaChannel | bool | Whether to load the alpha channel (if exists) as an additional image channel. | ||
![]() | outImage | Avl.Image | Output image. |