ImageEn, unit imageenio

TImageEnIO.LoadFromStreamHDP

TImageEnIO.LoadFromStreamHDP


Declaration

function LoadFromStreamHDP(Stream: TStream): Boolean;


Description

Loads an image from a stream containing a Microsoft HD Photo or JPEG XR file. The result will be false if an error is encountered, e.g. the file in the stream is not HDP format (Aborting will be true).

Note:
You can abort loading by setting Aborting to true
LoadFromStreamHDP does not reset the position of the stream, so you may need to first call Stream.Position := 0;
Requires Windows XP (SP2) with .Net 3.0, Windows Vista or newer