WebP vs TGA: technical differences
To convert WebP to TGA, drop your WebP 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.
Games and engines rarely accept WebP as a source texture, while TGA has been a texture staple for decades. Pixohub writes 32-bit uncompressed TGA with an 8-bit alpha channel, so transparent WebP images keep their transparency. Size grows to about 4 bytes per pixel — a 512×512 WebP icon of 30 KB becomes about 1 MB.
Two details matter for texture use. First, the TGA reproduces the WebP's lossy softening exactly, so start from the cleanest source available. Second, browser canvases store premultiplied alpha, so fully transparent pixels are saved with black colour values; if your engine filters textures, that can create dark edges unless you pad or bleed the colours in a texture tool.
| WebP (WebP) | TGA (Truevision TGA (Targa)) | |
|---|---|---|
| Compression | Lossy (VP8 intra-frame) or lossless (VP8L) | None or lossless RLE |
| Colour depth | 8 bits per channel, RGB(A); lossy mode uses 4:2:0 chroma | 8, 16, 24 or 32 bits per pixel |
| Transparency | Alpha in both lossy and lossless modes | 8-bit alpha in 32-bit files |
| Animation | Yes | None |
| Metadata | EXIF, XMP and ICC chunks | Optional image ID and extension area |
| Typical file size | Roughly 25–35% smaller than JPG/PNG at similar quality | Large — close to raw pixel size |
| Support | All modern browsers; most current editors and OSes | Game engines, 3D and video tools; browsers cannot display it |
When to convert WebP to TGA
Modding with assets found as WebP
Reference images, logos or decals found online are increasingly WebP. Modding toolchains that expect TGA input won't read them; converting gives you a 32-bit TGA with alpha to feed into the toolchain.
Engines and tools without WebP import
Many game engines, 3D packages and texture tools do not import WebP, but almost all of them import TGA. Converting is a quick bridge when an artist or asset store delivered WebP files.
Legacy video-graphics systems
Older character-generator and compositing systems take TGA stills with alpha for overlays. A transparent WebP graphic converts directly into something they accept.
What converting WebP to TGA keeps and loses
What you keep
- Transparency as an 8-bit alpha channel.
- The decoded pixels and dimensions.
What you lose
- Animation — first frame only.
- The colour of fully transparent pixels (stored as black).
- EXIF, XMP and ICC metadata.
- WebP's compression — the TGA is uncompressed.
Our test: WebP to TGA on two real files
TGA is an 18-byte header plus 4 bytes per pixel, so the photo came to 7,680,018 bytes and the graphic to 1,920,018: 25 and 44 times the WebPs. The photo matched the decoded WebP exactly. The graphic kept its 8-bit alpha, and its semi-transparent pixels differed from our reference by at most one level (58.45 dB), invisible in any engine.
As with every TGA Pixohub writes, fully transparent pixels are stored with black colour values. Both files took under 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 | WebP in | TGA out | Pixels vs original | Transparency | Camera EXIF | Time |
|---|---|---|---|---|---|---|
| Photo, 1600 × 1200 | 312 KB | 7.7 MB (25× larger) | Identical pixels | None in source | Removed | 1.0 s |
| Graphic, 800 × 600, transparent | 43 KB | 1.9 MB (44× larger) | SSIM 1.000 · 58.5 dB | Kept | None in source | 0.9 s |
Last updated
Apps and sites that work with WebP and TGA
Engines that read WebP anyway
Godot imports WebP directly, at 8 bits per channel with transparency, so a Godot project can skip this conversion. Unity's documented texture formats include TGA, PNG and PSD but not WebP, and Unreal Engine's importer is built around TGA, PNG, PSD and similar formats, which is where the conversion is needed.
Command-line alternative
libwebp's dwebp does not write TGA; it outputs PNG, PAM, PPM, BMP or TIFF. For a scripted pipeline that must end in TGA, decode to PNG with dwebp and convert with ImageMagick, or use this page for a few files.
Editing the alpha afterwards
GIMP and Photoshop open the TGA with its alpha channel, so you can paint masks or dilate edges before the asset goes into the engine. When saving from Photoshop, choose 32 bits per pixel or the alpha is dropped. Krita reads the file as well.
Common WebP to TGA problems and fixes
Dark outlines around a decal or icon
Web graphics are often cut-outs with soft edges, and every fully transparent pixel in the TGA has black colour. When the engine filters or builds mipmaps, that black bleeds into the edge. Use your texture tool's edge padding or dilation, or set the material to premultiplied alpha blending, which largely avoids the problem.
The asset folder balloons in version control
Our 43 KB WebP graphic became a 1.9 MB TGA, 44 times larger, and every revision of an uncompressed texture is stored in full. Committing dozens of them makes a Git repository slow to clone. Track TGA files with Git LFS, which is designed for large binaries, or keep only the textures the engine actually imports.
A web image looks blurry on a large surface
WebPs from websites are often small and lossy; once mapped onto a wall or a full-screen HUD, the softness is magnified. TGA cannot recover detail. Find a higher-resolution source, or keep the texture at a size where it is displayed near one texel per pixel. Upscaling before conversion only enlarges the blur.
Tips for better WebP to TGA results
- Resize to power-of-two dimensions before converting if your engine needs them.
- If dark fringes appear in-engine, run an edge-padding filter in your texture tool.
How this converter works
Pixohub decodes your WebP 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.