HEIC vs TGA: technical differences
To convert HEIC to TGA, drop your HEIC 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 (Targa) is a 1980s raster format that survives mainly in game engines and 3D tools. Pixohub writes it as 32-bit uncompressed BGRA with a top-left origin flag set, so every pixel takes 4 bytes. A 12 MP iPhone photo becomes about 48.8 MB, roughly 20–40× the HEIC.
The alpha channel in the output is fully opaque for a camera photo, and carries real transparency if the HEIC had any. If you need a cut-out sprite or decal, remove the background first. The transparency will then go into TGA's 8-bit alpha. Colour is 8 bits per channel, and the HEIC's HDR gain map, 10-bit depth and Display P3 tagging are dropped.
TGA carries almost no metadata, so EXIF and GPS are lost anyway. The pixel data is the HEIC as decoded by Pixohub, passed over losslessly with no intermediate JPEG, though the Display P3 values aren't converted to sRGB. For a texture the engine will recompress to BCn/ASTC anyway, that slight drop in saturation is the only difference worth knowing about.
| HEIC (High Efficiency Image Container) | TGA (Truevision TGA (Targa)) | |
|---|---|---|
| Compression | Lossy HEVC (H.265) intra-frame in a HEIF container | None or lossless RLE |
| Colour depth | 8 or 10 bits per channel; Display P3 on iPhone | 8, 16, 24 or 32 bits per pixel |
| Transparency | Not used in iPhone photos | 8-bit alpha in 32-bit files |
| Animation | Live Photos and bursts are stored as sequences | None |
| Metadata | EXIF, XMP, depth maps, HDR gain maps | Optional image ID and extension area |
| Typical file size | About half a JPG of the same photo | Large — close to raw pixel size |
| Support | Apple devices natively; Windows needs an extension; most browsers cannot display it | Game engines, 3D and video tools; browsers cannot display it |
When to convert HEIC to TGA
Photo-sourced textures for game mods
Modders who photograph real surfaces (bark, brick, signage) on an iPhone sometimes need TGA because a mod tool or older engine pipeline only imports Targa. Crop to a square and resize to a power of two (1024, 2048) before converting. Many engines expect those sizes.
Reference plates for 3D and VFX tools
Some legacy 3D packages and compositing setups standardise on TGA image sequences. A phone reference photo converted to TGA can sit alongside those frames without a separate import path.
Honestly, a niche conversion
Modern engines like Unity, Unreal and Godot import PNG and JPG directly. Unless a tool specifically asks for .tga, HEIC to PNG gives you the same lossless pixels in a much smaller file.
What converting HEIC to TGA keeps and loses
What you keep
- Full resolution and upright orientation, written top-down with the origin flag set.
- Lossless storage of the decoded pixels.
- An 8-bit alpha channel (opaque for a camera photo, or real transparency if you cut out the subject first).
What you lose
- EXIF date, GPS location and camera information.
- HDR range, 10-bit depth and wide-gamut colour.
- Depth maps and other auxiliary HEIC images.
- Size efficiency: no RLE compression is applied to the output.
Our test: HEIC to TGA on two real files
Uncompressed 32-bit TGA takes 4 bytes per pixel plus an 18-byte header, which is exactly what we measured: 7,680,018 bytes (7.7 MB) for the 1600 × 1200 photo, about 10 times the 755 KB HEIC. The graphic's transparency was written into the TGA's alpha channel, at 1.9 MB.
Against a libheif reference decode the pixels scored 64.15 dB with a largest difference of 3 levels, a rounding difference that disappears once an engine compresses the texture. Camera EXIF was removed; TGA has no field for it.
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 | HEIC in | TGA out | Pixels vs original | Transparency | Camera EXIF | Time |
|---|---|---|---|---|---|---|
| Photo, 1600 × 1200 | 755 KB | 7.7 MB (10× larger) | SSIM 1.000 · 64.2 dB | None in source | Removed | 3.0 s |
| Graphic, 800 × 600, transparent | 100 KB | 1.9 MB (19× larger) | SSIM 1.000 · 64.7 dB | Kept | None in source | 2.4 s |
Last updated
Apps and sites that work with HEIC and TGA
Engines and compilers that take TGA
Unity, Unreal Engine and Godot all import TGA directly, though Unity and Unreal also accept PNG, so TGA matters mostly for older pipelines. Valve's vtex compiler for Source-engine materials expects TGA input, and many mods for older games load .tga files at runtime.
Blender and photo references
Blender reads TGA as an image texture but can't load HEIC, so surface photos and reference shots taken on an iPhone need converting before they can go on a material or a reference plane. Blender also reads PNG and JPG, so TGA is needed only when the rest of your texture set is already TGA or an exporter expects it.
Checking the TGA afterwards
macOS Preview and Quick Look open TGA, as do GIMP, Photoshop, Krita, IrfanView and XnView. Windows Photos and File Explorer thumbnails generally don't, so on Windows inspect the file in one of those editors before you hand it to an engine.
Common HEIC to TGA problems and fixes
Dark outlines around a cut-out texture
If the HEIC had transparency, the fully transparent pixels in the TGA have their colour set to black, because the browser canvas discards colour where alpha is zero. Engines that filter or mipmap the texture blend that black into the edges. In Unity, tick Alpha Is Transparency in the texture import settings, which pads edge colour outward; other engines have a similar dilation option.
The photo texture renders pale or too dark
Engines treat colour textures as sRGB and data textures, such as roughness or normal maps, as linear. If a photo TGA is imported as data, it renders washed out. In Unity keep sRGB (Color Texture) ticked for albedo textures, and in Unreal leave the texture's sRGB checkbox on. Reimport after changing the setting; the file itself doesn't need converting again.
Colours don't match a measured reference
The TGA holds the iPhone's Display P3 values as if they were sRGB, since the decoder doesn't convert them and TGA has no profile. For a photo-sourced texture that usually passes, but if colour must match, convert to sRGB in an editor from the PNG output and export the TGA from there.
Tips for better HEIC to TGA results
- Square, power-of-two dimensions avoid engine resampling. Use the crop tool and resizer before converting rather than after.
- If a tool shows the TGA upside down, it ignores the origin flag. Flip the image vertically in that tool, or use PNG instead.
How this converter works
Pixohub decodes your HEIC and encodes the TGA entirely inside your browser, using a bundled HEIC decoder because browsers cannot open HEIC natively. 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.