ImageEn, unit imageenio

TImageEnIO.SaveToFileDCX

TImageEnIO.SaveToFileDCX


Declaration

procedure SaveToFileDCX(const FileName: WideString);


Description

Saves the current image to a file in DCX format.
FileName is the file name including extension.

Note:
TImageEnIO.SaveToFileDCX only supports saving of a single frame DCX. To save a DCX with multiple frames use TImageEnMIO.SaveToFileDCX, or insert a frame using InsertToFileDCX
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


See Also

SaveToStreamDCX
LoadFromFileDCX
InsertToFileDCX
ImageIndex
ImageCount
DeleteDCXIm
Global Image Methods