ImageEn, unit ImageEnIO

TImageEnIO.SavetoFileTGA

TImageEnIO.SavetoFileTGA

Declaration

procedure SaveToFileTGA(const FileName: WideString);

Description

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

Note:
◼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