AVIF vs TGA: technical differences
To convert AVIF to TGA, drop your AVIF 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.
TGA (Truevision Targa) dates from the 1980s and survives because it is trivial to read and holds an 8-bit alpha channel without compression artefacts. Pixohub writes 32-bit uncompressed TGA: four bytes per pixel, so a 2048 × 2048 texture is exactly 16 MB plus a tiny header. An AVIF of the same image might be 200–500 KB.
Alpha is the point of this pair. AVIF can store a high-quality alpha plane; TGA keeps it as a straight 8-bit channel game engines and compositing tools read directly. Colour is 8 bits per channel, so 10-bit or HDR AVIF content is reduced to standard range on the way.
Remember that lossy AVIF may have slightly soft or noisy alpha edges. TGA will reproduce them faithfully, so check the edge quality before using the texture.
TGA files carry an origin flag that says whether the first stored row is the top or the bottom of the image. Well-behaved tools honour it; very old or hand-written loaders sometimes ignore it and show the texture upside down. If that happens, flip the image in your engine or with the flip tool rather than reconverting.
| AVIF (AV1 Image File Format) | TGA (Truevision TGA (Targa)) | |
|---|---|---|
| Compression | Lossy or lossless (AV1 intra-frame in a HEIF container) | None or lossless RLE |
| Colour depth | 8, 10 or 12 bits per channel; HDR and wide gamut capable | 8, 16, 24 or 32 bits per pixel |
| Transparency | Full alpha channel | 8-bit alpha in 32-bit files |
| Animation | Yes (image sequences) | None |
| Metadata | EXIF, XMP, ICC / CICP colour signalling | Optional image ID and extension area |
| Typical file size | Usually the smallest — often half a JPG at similar quality | Large — close to raw pixel size |
| Support | Chrome, Edge, Firefox and Safari 16+; patchy in older desktop software | Game engines, 3D and video tools; browsers cannot display it |
When to convert AVIF to TGA
Importing textures into game engines and mod tools
Unreal, Unity and many older engines and modding tools import TGA readily, and some legacy pipelines accept nothing else. Converting AVIF art you downloaded or received gives you a clean texture with its alpha intact.
Video and compositing pipelines
Some video editors, title generators and broadcast graphics systems use TGA sequences or stills for overlays with alpha. A single TGA from an AVIF lower-third or logo slots into those workflows.
3D software material slots
Older versions of 3D packages and renderers may not understand AVIF at all, but they all read TGA for diffuse and opacity maps.
Turning web-sourced reference images into engine-ready decals
Decals, stickers and signage sourced from modern websites increasingly arrive as AVIF. Converting to TGA keeps the cut-out shape via alpha, so the decal can be placed on a surface in the engine without a visible box around it.
What converting AVIF to TGA keeps and loses
What you keep
- Full 8-bit alpha channel.
- All decoded pixels, losslessly.
- Original dimensions — no power-of-two resizing is applied.
What you lose
- Compact size: the TGA is uncompressed.
- HDR, wide gamut and bit depth beyond 8 bits per channel.
- EXIF/XMP metadata.
- Animation — only one still frame is written.
Our test: AVIF to TGA on two real files
TGA size is fixed arithmetic: an 18-byte header plus four bytes per pixel. Our photo became 7,680,018 bytes (7.7 MB) and the graphic 1,920,018 bytes (1.9 MB), 32 and 69 times the AVIFs. The opaque photo still gets an alpha byte for every pixel, all set to 255.
Colour was exact for the photo. On the graphic, every alpha value matched the AVIF; only the colour of half-transparent shadow pixels moved, by one level at most (PSNR 59.62 dB), from the canvas rounding premultiplied values. That is far below what texture filtering in an engine changes anyway. Each took about a second.
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 | AVIF in | TGA out | Pixels vs original | Transparency | Camera EXIF | Time |
|---|---|---|---|---|---|---|
| Photo, 1600 × 1200 | 241 KB | 7.7 MB (32× larger) | Identical pixels | None in source | None in source | 1.1 s |
| Graphic, 800 × 600, transparent | 28 KB | 1.9 MB (69× larger) | SSIM 1.000 · 59.6 dB | Kept | None in source | 0.9 s |
Last updated
Apps and sites that work with AVIF and TGA
Game engines and 3D tools
Unity, Unreal Engine and Blender read 32-bit TGA and use its alpha channel for cut-out or translucent materials. Pixohub sets the top-left origin flag in the header, so tools that honour it show the texture the right way up without any flip setting.
Cleaning up the alpha
GIMP and Photoshop open and save TGA, so you can tidy soft AVIF edges in the alpha channel before importing. When you re-save from GIMP, its TGA export offers RLE compression, which can shrink the file a lot on flat or transparent areas if your pipeline accepts compressed TGA.
After Effects and Premiere Pro
Both import TGA stills with alpha for overlays and lower-thirds. Pixohub's TGA alpha is straight (unmatted), not premultiplied, so if After Effects asks how to interpret the alpha, choose Straight; picking Premultiplied darkens or brightens the soft edges. Premiere Pro reads the same alpha when the still is placed above a video track.
Common AVIF to TGA problems and fixes
A dark fringe around the cut-out in the engine
Fully transparent pixels in the TGA have their colour stored as black, as in our test file. When an engine filters or builds mipmaps, that black bleeds into neighbouring edge pixels and draws a dark outline. In Unity, tick 'Alpha Is Transparency' in the texture import settings, which pads colour into the transparent area; elsewhere, use your engine's equivalent edge-padding option.
Edges look wrong after compositing in video software
A halo that's lighter or darker than the background usually means the alpha was interpreted as premultiplied. Open Interpret Footage on the TGA in After Effects (or the equivalent in your editor) and set the alpha to Straight. The file itself is fine; it's the assumption about how colour and alpha were combined that's off.
'Sorry, that image could not be loaded.'
Pixohub shows this when the browser can't decode the AVIF. The usual cause is an older browser: Edge only turned on AVIF by default in version 121, and Safari needs macOS Ventura or iOS 16. Update the browser, or open the page in current Chrome or Firefox, and the TGA export will work.
Tips for better AVIF to TGA results
- Many engines prefer power-of-two textures (512, 1024, 2048). Resize the AVIF to the right square size with the image resizer before converting.
- If your engine accepts PNG, compare: PNG keeps alpha too and is much smaller on disk.
How this converter works
Pixohub decodes your AVIF 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.