BMP vs TGA: technical differences
To convert BMP to TGA, drop your BMP file into the converter above and download the TGA: an uncompressed 32-bit format with transparency, common in games and 3D tools. It is free, needs no sign-up, and runs in your browser, so the file is never uploaded.
BMP and TGA are both simple, mostly uncompressed raster formats, which is why old game and graphics tools supported both. The practical difference is alpha: Pixohub writes 32-bit TGA with an 8-bit alpha channel, while most BMPs are 24-bit opaque. Converting adds a fully opaque alpha channel unless the BMP already had decodable transparency.
Pixels are copied exactly. Expect the TGA to be about a third larger than a 24-bit BMP, since it stores 4 bytes per pixel.
Both formats come from the same era of PC graphics: BMP from Windows and OS/2, TGA from Truevision's TARGA video cards in the mid-1980s. Each stores rows bottom-up by default and uses BGR byte order internally, which is why converting between them is such a clean, lossless step.
TGA can optionally use RLE compression; Pixohub's output is uncompressed for compatibility, so the file is close to width × height × 4 bytes. That is fine for textures loaded once, but large for storage — keep the originals or a PNG copy for archiving.
| BMP (Bitmap Image File) | TGA (Truevision TGA (Targa)) | |
|---|---|---|
| Compression | Usually none (raw pixels); optional RLE for palette images | None or lossless RLE |
| Colour depth | 1–32 bits per pixel; typically 24-bit RGB | 8, 16, 24 or 32 bits per pixel |
| Transparency | Rarely supported (32-bit variants only) | 8-bit alpha in 32-bit files |
| Animation | None | None |
| Metadata | Essentially none beyond resolution | Optional image ID and extension area |
| Typical file size | Very large — width × height × 3 bytes | Large — close to raw pixel size |
| Support | Universal on Windows; opens almost everywhere | Game engines, 3D and video tools; browsers cannot display it |
When to convert BMP to TGA
Game modding and older engines
Many older engines and modding toolchains expect TGA textures. Converting BMP textures, skins or UI elements to TGA lets them import cleanly.
Preparing a texture to add transparency later
Converting to 32-bit TGA gives you an alpha channel that can be painted in an editor afterwards, which 24-bit BMP cannot hold.
Video-editing overlays and broadcast graphics
Some video editors and character generators import TGA stills for lower-thirds and logos. If your graphic exists only as BMP, converting gives those tools the format they expect, ready for an alpha channel to be added.
What converting BMP to TGA keeps and loses
What you keep
- Exact pixels and dimensions.
- Alpha from a 32-bit BMP, if the browser decodes it.
What you lose
- BMP DPI field.
- Some disk space: the TGA is uncompressed 32-bit.
Our test: BMP to TGA on two real files
The two formats ended up almost the same size for the graphic: 1,920,018 bytes of TGA against 1,920,054 of 32-bit BMP, the 36-byte difference being the shorter TGA header. The 24-bit photo grew by a third, from 5.8 MB to 7.7 MB, because of the added alpha byte.
Pixels matched exactly. Like every output from this BMP, the TGA reflects that its alpha byte wasn't read: the TGA's alpha is 255 everywhere and the graphic's background is solid black, so an engine will treat it as an opaque texture. The photo took 991 ms.
Method: this converter in Chromium (Playwright 1.64.1) on an Apple M2 Mac, default 85% quality for lossy output. The photo is an iPhone 14 Pro Max shot scaled to 1600 × 1200, metadata intact; the graphic has a transparent background, soft shadow, gradients and text. SSIM and PSNR compare each result with the decoded original on white (how we test).
| Test file | BMP in | TGA out | Pixels vs original | Transparency | Camera EXIF | Time |
|---|---|---|---|---|---|---|
| Photo, 1600 × 1200 | 5.8 MB | 7.7 MB (+33%) | Identical pixels | None in source | None in source | 1.0 s |
| Graphic, 800 × 600, transparent | 1.9 MB | 1.9 MB (same) | Identical pixels | None in source | None in source | 0.9 s |
Last updated
Apps and sites that work with BMP and TGA
Modern engines take both
Unity, Unreal Engine and Godot all import BMP as well as TGA, so with these engines the reason to convert is the alpha channel you can paint into the TGA, not compatibility. Older engines are pickier. Quake-era engines and many hand-written loaders accept TGA but not BMP, and that is where the conversion is needed.
id Tech 3 and its mods
Quake III Arena and the many games and mods built on its engine load textures as TGA or JPG, not BMP. Converting BMP textures to 32-bit TGA lets them be used in shaders that need an alpha channel for cut-outs or blending.
Viewing the TGA
IrfanView, XnView, GIMP and Photoshop open TGA, and so do game engines. Many basic viewers built into operating systems don't, so check the file in one of those before assuming it's broken. If the engine imports it and displays the texture correctly, the file is fine, whatever a system viewer shows.
Common BMP to TGA problems and fixes
Expected transparency, got a black background
A 32-bit BMP's transparency is often ignored when it is decoded, so it doesn't reach the TGA. To get a real alpha channel, cut the background out with remove background, then convert that PNG with PNG to TGA, or paint the alpha channel in GIMP or Photoshop. Then reimport the new TGA.
Photoshop shows the alpha channel as solid white
Photoshop loads TGA alpha as a separate channel, and white there means fully opaque, which is what Pixohub writes for a BMP without decodable transparency. Paint black in that channel where the texture should be see-through, then save as 32-bit TGA again. Grey values give partial transparency. Then check it in the engine.
A mask or normal map looks wrong in the engine
Engines treat imported textures as sRGB colour by default. BMP masks, roughness maps or normal maps converted to TGA then look too bright or too dark, or light badly. Untick 'sRGB (Color Texture)' in Unity's import settings or the sRGB box in Unreal's texture editor for any texture that holds data rather than colour.
Tips for better BMP to TGA results
- Many engines want power-of-two texture sizes; resize first with the image resizer if needed.
- Want transparency? After converting, paint the alpha channel in GIMP or Photoshop — or remove a plain background first with remove background and convert the PNG result instead.
How this converter works
Pixohub decodes your BMP and encodes the TGA entirely inside your browser. Nothing is uploaded, so the conversion is private by design and as fast as your device.
Need more? Shrink the result with the image compressor, change its dimensions with the image resizer, or convert a whole folder at once with bulk format convert.