ImageEn, unit imageenio

TImageEnIO.SaveToFileHDP

TImageEnIO.SaveToFileHDP


Declaration

procedure SaveToFileHDP(const FileName: WideString);


Description

Saves the current image to a file in Microsoft HD Photo or JPEG XR format.

FileName is the file name including extension.

Note:
HDP files can saved losslessly by enabling HDP_Lossless. Otherwise the quality can be specified using HDP_ImageQuality
If an internal save error is encountered Aborting will return true. Saving issues due to insufficient write permissions and disk write failures will raise an exception.
To abort while saving set Aborting to true
Requires Windows XP (SP2) with .Net 3.0, Windows Vista or newer