TGA can be uncompressed or losslessly RLE-compressed. Attribute bits and version-2 alpha semantics matter; the fourth byte must not automatically be treated as opacity. TGA can store its supported image samples without lossy compression. This applies after rendering and sample conversion: it does not guarantee preservation of source precision, colour space or document structure, and cannot undo earlier losses.
Sample precision & colour
Rendered SDR output uses 8-bit display pixels; source precision and original ICC profiles are not retained. Colour handling depends on the decoder and supported source variant.
BMP
Source
BMP
Windows Bitmap
Compression: Depends on variantTransparency: YesMetadata: DIB header, ICC (V5)
Windows raster storage with several DIB header versions. Simple uncompressed pixels are common, but alpha and compression vary.
TGA fits your delivery use: Textures & graphics assets.
You need a transparency-capable destination and will check its supported variant.
You need lossless storage of the rendered samples supported by TGA.
You can validate the destination’s sample precision and colour interpretation.
Probably not when
You assume format-level alpha support guarantees matching transparent edges.
You expect lossless encoding to restore lost details or editing structure.
You require identical samples without a defined colour and precision policy.
BMP to TGA conversion details
Transparency representation
Transparency is carried only by supported source and target variants. SDR paths use 8-bit alpha; EXR uses HALF alpha with premultiplied file samples. GIF reduces alpha to a binary transparent index. HEIC/HEIF output is opaque and auxiliary HEIF alpha input is rejected.
Lossless sample storage
TGA can be uncompressed or losslessly RLE-compressed. Attribute bits and version-2 alpha semantics matter; the fourth byte must not automatically be treated as opacity. TGA can store its supported image samples without lossy compression. This applies after rendering and sample conversion: it does not guarantee preservation of source precision, colour space or document structure, and cannot undo earlier losses.
Sample precision & colour
Rendered SDR output uses 8-bit display pixels; source precision and original ICC profiles are not retained. Colour handling depends on the decoder and supported source variant.
Metadata & colour
This output writer does not preserve source EXIF, GPS or XMP metadata blocks. Original ICC profiles are not copied. Rendered SDR output uses 8-bit display pixels; source precision and original ICC profiles are not retained. Colour handling depends on the decoder and supported source variant.
Compression
BMP: Depends on variant → TGA: Lossless BMP: BMP may be uncompressed or use a header-selected encoding. Alpha is header-dependent; 32 bits alone do not establish transparency support in the receiving application. TGA: TGA can be uncompressed or losslessly RLE-compressed. Attribute bits and version-2 alpha semantics matter; the fourth byte must not automatically be treated as opacity.
Conversion keeps the decoded image dimensions unless you edit or resize it. Orientation is applied by supported decoders. ICO fits the image into one selected square size; PDF page layout and rendering DPI are configurable. Device, memory and codec limits still apply.
Metadata
This output writer does not preserve source EXIF, GPS or XMP metadata blocks. Original ICC profiles are not copied.
Common questions
Does lossless output mean an unchanged source?+
TGA can be uncompressed or losslessly RLE-compressed. Attribute bits and version-2 alpha semantics matter; the fourth byte must not automatically be treated as opacity. TGA can store its supported image samples without lossy compression. This applies after rendering and sample conversion: it does not guarantee preservation of source precision, colour space or document structure, and cannot undo earlier losses.
Are bit depth and colour values guaranteed to match?+
Rendered SDR output uses 8-bit display pixels; source precision and original ICC profiles are not retained. Colour handling depends on the decoder and supported source variant.
Will metadata and colour profiles be retained?+
This output writer does not preserve source EXIF, GPS or XMP metadata blocks. Original ICC profiles are not copied. Rendered SDR output uses 8-bit display pixels; source precision and original ICC profiles are not retained. Colour handling depends on the decoder and supported source variant.