SVG to TGA Converter

Convert SVG to TGA online for free. Rasterize your SVG into a crisp TGA at any size. 100% browser-based — no upload, no signup, no watermark.

How to use SVG to TGA

  1. 1Click the upload area or drag your SVG file into it.
  2. 2Preview the image to confirm it loaded correctly.
  3. 3Click Convert to render the TGA in your browser.
  4. 4Download your new TGA file — nothing is uploaded.

Features

  • Instant SVG → TGA conversion, 100% in-browser
  • Your files never leave your device
  • Lossless, high-quality output
  • Free, unlimited, no signup or watermark

SVG vs TGA: technical differences

To convert SVG to TGA, drop your SVG 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 output from Pixohub is 32-bit uncompressed with a full 8-bit alpha channel, so an SVG's transparent background and soft anti-aliased edges carry over exactly. That makes it a sound way to turn vector UI art into textures for engines and tools that ask for TGA. Each pixel costs 4 bytes, so a 1024 × 1024 icon atlas is 4 MB on disk regardless of how simple the vector was.

There is one subtlety for game work. Anti-aliased edges contain pixels whose colour is mixed with transparency. Browser canvases store premultiplied colour internally, and edge pixels with very low alpha may not keep their exact original RGB. When engines filter or mipmap such textures you can see faint dark or light fringes. If that happens, enable your engine's alpha dilation or padding option, or add a little bleed around the art in the SVG.

Size is set by the SVG's width and height. Rendering excludes scripts, external images and web fonts, so outline the text for UI labels.

SVG (Scalable Vector Graphics)TGA (Truevision TGA (Targa))
CompressionNot applicable — XML text describing shapes (gzip as .svgz)None or lossless RLE
Colour depthResolution-independent vector colours8, 16, 24 or 32 bits per pixel
TransparencyYes (opacity on any element)8-bit alpha in 32-bit files
AnimationYes (SMIL or CSS)None
MetadataTitle, description and arbitrary XML metadataOptional image ID and extension area
Typical file sizeTiny for logos and icons; grows with path complexityLarge — close to raw pixel size
SupportAll browsers; vector editors such as Illustrator, Inkscape, FigmaGame engines, 3D and video tools; browsers cannot display it

When to convert SVG to TGA

Game UI icons and HUD elements

UI designers often draw buttons, ability icons and HUD pieces in vector tools. Rendering them to 32-bit TGA at the exact texture size, such as 256 × 256 or 512 × 512, produces files that Unreal, Unity and most mod tools import with alpha intact.

Decals and logos for vehicle or sports-game mods

Livery and decal mod kits for many racing and sports games specify TGA with alpha. Vector team logos convert cleanly at whatever resolution the kit requires.

Overlay graphics for video tools

Some broadcast and video applications accept TGA stills with alpha for lower-thirds and bugs. Rendering the SVG at 1920 × 1080 with the graphic in position gives a ready-made overlay.

What converting SVG to TGA keeps and loses

What you keep

  • Full alpha transparency, including soft edges
  • Exact rendered colours, with no compression loss
  • The pixel dimensions set in the SVG

What you lose

  • Vector scalability; re-export from the SVG for other sizes
  • Small file size (uncompressed, 4 bytes per pixel)
  • Animation, interactivity, external images and web fonts

Our test: SVG to TGA on two real files

The 1 KB SVG became a 1.9 MB TGA, exactly 800 × 600 × 4 bytes plus the 18-byte header, with transparency kept. The pixels are the lossless browser render (PSNR 62.05 dB, largest difference 14 levels against our reference), so TGA itself added no loss.

Because the file is uncompressed, its size depends only on the pixel dimensions: a 2048 × 2048 texture is about 16.8 MB whatever the artwork contains. The conversion took 896 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 fileSVG inTGA outPixels vs originalTransparencyCamera EXIFTime
Graphic, 800 × 600, transparent1 KB1.9 MB (1546× larger)SSIM 1.000 · 62.0 dBKeptNone in source0.9 s

Last updated

Apps and sites that work with SVG and TGA

Godot

Godot imports SVG directly and can rasterise it at a set scale, so a Godot project may not need this conversion. It imports TGA too, which helps when a team's asset pipeline standardises on TGA. For pixel-perfect UI at a fixed size, a pre-rendered TGA avoids differences between Godot's SVG rasteriser and the browser's.

Unity and Unreal

Neither imports SVG as a regular texture without a package or plugin, but both import 32-bit TGA with alpha. Converting UI art to TGA at the target size gets it into a project directly. Unity's Vector Graphics package can import SVG, but many teams still prefer pre-rendered textures for predictable results.

Livery and decal kits

Racing and sports-game modding guides commonly specify TGA with alpha at fixed sizes such as 1024 or 2048 square. Set those sizes on the SVG before converting. Pixohub's 32-bit TGA with alpha is the variant those guides usually ask for, and the transparent background lets the car or kit colour show through around the logo.

Common SVG to TGA problems and fixes

The texture is flipped vertically

Pixohub writes TGA with a top-left origin and sets the header flag that says so. A tool that ignores the flag reads the rows bottom-up and shows the image upside down. Flip the image with flip image before converting if your tool does this. Most current engines read the flag correctly, so check in the engine before flipping anything.

Dark fringes after mipmapping

Fully transparent pixels around the art carry colour values the engine blends in when it shrinks the texture. Turn on the engine's alpha dilation option, or extend the background colour under the art in the SVG at near-zero opacity. Leaving a few pixels of padding around each icon also reduces bleeding between neighbouring icons in an atlas.

The texture isn't a power of two

The TGA takes its size from the SVG's width and height. Without them, Pixohub uses the viewBox scaled so the long side is at least 1024 px, which gives 1024 × 1024 for a square icon but 1024 × 683 for a 3:2 viewBox. Set width and height explicitly to a power of two before converting, in plain pixels, since physical units are converted at 96 px per inch.

Tips for better SVG to TGA results

  • Set width and height to a power of two (256, 512, 1024, 2048) if the texture will be mipmapped or compressed on the GPU.
  • Leave a few pixels of transparent padding around icons in the SVG so texture filtering doesn't clip or bleed the edges.

How this converter works

Pixohub decodes your SVG 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.

Frequently asked questions

Does the TGA keep the SVG's transparency?

Yes. The output is 32-bit TGA with an 8-bit alpha channel, so transparent areas and soft edges are preserved.

How do I get a 512 × 512 TGA from my SVG?

Set width="512" and height="512" on the SVG's root element (keep the viewBox) and convert. The render will be exactly 512 × 512.

Why do I see a thin halo around my icon in the game engine?

Texture filtering blends edge pixels with neighbouring transparent pixels, whose colour data may be black or white. Use your engine's alpha-dilation or edge-padding import option, or add a slight bleed around the art.

Can I convert a folder of SVG icons to TGA?

Not in bulk. The bulk tool only writes PNG, JPG or WebP, so TGA is one file at a time on this page.

Is my artwork uploaded?

No. Rendering and TGA encoding run in your browser, so unreleased game art stays on your machine.

More converters

Batch: convert format many images at once

Same processing as above, run across a set of files. Pro returns the whole batch as one ZIP. Still entirely in your browser.

Free · up to 20

PRONeed more than 20 at a time?

Pro runs up to 150 images per batch as one ZIP, keeps your brand mark on every export, and lifts the file ceiling to 200 MB.

Unlock with Pro