TImageEnMIO.ParamsFromStream
Declaration
function ParamsFromStream(Stream: TStream; Format: TIOFileType = ioUnknown): Boolean;
Description
Reads the
image properties without loading the image (and without changing the current image). Result is false if a loading error is encountered due to a corrupt or unknown image format.
Stream is a TStream that contains the image.
Format is the file format that the stream or file contains. If
ioUnknown is specified then the file content is analyzed to determine the format.