| GraphicsFormats Xojo plugin |  | 
				
			 
			
					 RawTgaImporter Class
  RawTgaImporter Class 
	
					 
		 
		
			A class to Import RawBitmap from a TGA (Targa) format. The picture can be imported from a File, string or IBinaryStreamReader.
Tga format is loss less file format and supports alpha channels. 
			
			
				
				
				Object
   RawTgaImporter
				
					class RawTgaImporter  implements
 IRawBitmapReader
 IRawBitmapReader
   
			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 | Returns a string containing a TIFF encoded image or empty string if there was error. | 
Methods
|  GetLastErrorCode | Same as the LastError property but this one returns it as Integer to full-fill the standard interface. | 
|  OpenFromFile | Opens a Tga Image from a file. | 
|  OpenFromStream | Opens a Tga Image from a stream that implements the IBinaryStreamReader interface. | 
|  OpenFromString | Opens a Tga Image from a String that contains the Tga file. | 
Enumerations
|  ErrorValues | Enum that defines error codes for the RawTgaImporter class. | 
Constants
|  Version = 10.02 |  | 
Supported Platforms:
macOS Intel 64 bitmacOS Apple SiliconWindows 32 bitWindows 64 bitWindows ARM 64 bitLinux 32 bitLinux 64 bitLinux ARM 32 bitLinux ARM 64 bitiOS