ImageEn, unit imageenio

TImageEnIO.SaveToFilePSD

TImageEnIO.SaveToFilePSD


Declaration

procedure SaveToFilePSD(const FileName: WideString);


Description

Saves the current image or all layers to a file in PSD format. PSD supports multiple layers, so it can store position and other useful info (like layer name).
PSD files also have a merged representation of the image to fast preview the merged result.

FileName is the file name including extension.

Notes:
- 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.
- You can also save layers in IEN, PDF and SVG format
- All layers types will be saved as PSD image layers
- To abort while saving set Aborting to true