Method SaveAsTga
SaveAsTga(string, bool)
Saves the image in TGA (Truevision TARGA) format to the specified file path.
public bool SaveAsTga(string filePath, bool rle = false)
Parameters
filePathstringThe file path to save the image to.
rleboolIf true, uses RLE compression; otherwise writes uncompressed.
Returns
- bool
True if the image was saved successfully; otherwise, false.
Exceptions
- ObjectDisposedException
Thrown if this instance has been disposed.