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
LastError | Returns error code for last method called. |
ProgressHandler | To get progress feedback then assign a a class instance that implements the IProgressHandlerV2 interface to this property. |
RLECompressed | Set to true if you want RLE compression done when exporting. |
Methods
GetLastErrorCode | Same as the LastError property but this one returns it as Integer to full-fill the standard interface. |
SaveToFile | Exports a RawBitmap picture to a Tga file. |
SaveToStream | Exports a RawBitmap picture to a stream that implements the IBinaryStreamWriter interface. |
SaveToString | Exports a RawBitmap picture to a string. |
Enumerations
ErrorValues | Enum that defines error codes for the RawTgaExporter class. |
Constants
Version = 7.5 | |
Supported Platforms:
MacOS X Cocoa 32 bitMacOS X Cocoa 64 bitWindows 32 bitWindows 64 bitLinux 32 bitLinux 64 bitLinux ARMUnsupported Platforms:
MacOS X Carbon