GraphicsFormats Xojo plugin

RawTgaExporter Class

A class to Export RawBitmap to a TGA (Targa) format. The result can be written to a File, string or IBinaryStreamWriter.
Tga format is loss less file format and supports alpha channels.

Object
   RawTgaExporter

class RawTgaExporter implements

IRawBitmapWriter

Properties

LastErrorReturns error code for last method called.
ProgressHandlerTo get progress feedback then assign a a class instance that implements the IProgressHandlerV2 interface to this property.
RLECompressedSet to true if you want RLE compression done when exporting.

Methods

GetLastErrorCodeSame as the LastError property but this one returns it as Integer to full-fill the standard interface.
SaveToFileExports a RawBitmap picture to a Tga file.
SaveToStreamExports a RawBitmap picture to a stream that implements the IBinaryStreamWriter interface.
SaveToStringExports a RawBitmap picture to a string.

Enumerations

ErrorValuesEnum that defines error codes for the RawTgaExporter class.

Constants

Version = 7.5

Supported Platforms:

  • MacOS X Cocoa 32 bit
  • MacOS X Cocoa 64 bit
  • Windows 32 bit
  • Windows 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM

    Unsupported Platforms:

  • MacOS X Carbon