TImageEnIO.LoadFromBuffer
Declaration
function LoadFromBuffer(Buffer: Pointer; BufferSize: Integer; Format: TIOFileType = ioUnknown): Boolean;
Description
Loads an 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 |
Result is false if the resource could not be loaded.
See also:
ParamsFromBufferImageEnView1.IO.LoadFromBuffer(mybuffer, mybufferlength, ioJPEG);