ImageEn, unit iemio

TImageEnMIO.LoadFromBuffer

TImageEnMIO.LoadFromBuffer


Declaration

procedure LoadFromBuffer(Buffer: pointer; BufferSize: integer; Format: TIOFileType = ioUnknown);


Description

Load an image or a multi-page image from the specified buffer.

Parameter Description
Buffer The buffer pointer
BufferSize The buffer length in bytes
Format Specifies the expected file format. If Format is ioUnknown, then try to find the format automatically


Example

ImageEnMView1.MIO.LoadFromBuffer(mybuffer, mybufferlength, ioJPEG);