TImageEnMIO.ParamsFromBuffer
Declaration
function ParamsFromBuffer(Buffer: Pointer; BufferSize: Integer; FileType: TIOFileType = ioUnknown): Boolean;
Description
Loads image parameters (but not the actual image) from the specified buffer. Result is False if a loading error is encountered due to a corrupt or non-standard image format.
| Parameter | Description |
| Buffer | The buffer pointer |
| BufferSize | The buffer length in Bytes |
| FileType | Specifies the file format of the image. If ioUnknown is specified then the file content is analyzed to determine the format (using FindStreamFormat) |
Example
ImageEnView1.IO.ParamsFromBuffer(mybuffer, mybufferlength, ioJPEG);
See Also
◼LoadFromBuffer