ImageEn, unit imageenio

TImageEnIO.LoadFromFileHDP

TImageEnIO.LoadFromFileHDP


Declaration

function LoadFromFileHDP(const FileName: WideString): Boolean;


Description

Loads an image from a Microsoft HD Photo or JPEG XR file.

FileName is the file name including extension.
Result will be false if the file is not HDP format (and Aborting will be true). Loading errors due to a file not being available will raise an exception.

Notes:
- You can abort loading by setting Aborting to true
- Requires Windows XP (SP2) with .Net 3.0, Windows Vista or newer