SVG to TGA Converter

Render an SVG as a TGA image at its drawn size, in your browser.

or drop files here

SV

SVG Format

Scalable Vector Graphics

An XML drawing that can contain paths, text, or embedded pictures.

  • Content may be vector or raster
  • Embedded pictures keep their own pixel resolution
TG

TGA Format

Truevision TGA (Targa)

A Targa raster image with options for color depth, alpha, and compression.

  • Fixed pixel dimensions
  • Alpha depends on the chosen representation

How to convert SVG to TGA

Follow these steps to convert SVG to TGA online.

    1

    Choose your SVG file, or several at once.

    2

    Wait while the converter turns each file into TGA.

    3

    Download each new TGA file. Your original file isn't changed.

Before converting SVG to TGA

  • The TGA is raster, drawn at the dimensions the browser gives the SVG.
  • Nothing enlarges or shrinks the drawing.
  • Linked pictures and fonts the SVG points to never load; embedded data and installed fonts do.
  • Metadata isn't carried over.

SVG to TGA: background and alternatives

What is an SVG file?

An SVG file lists shapes, text and embedded images in XML, and a renderer draws them: that is the Scalable Vector Graphics standard from the W3C. Since the shapes are instructions rather than pixels, the drawing keeps clean edges at whatever size you ask for. The file is text, CSS and JavaScript can act on it, and all major browsers show it. A pixel image embedded in an SVG is the exception, because it keeps its original resolution when enlarged.

Programs that open SVG files

  • Windows, Mac and Linux: Inkscape, for native SVG editing.
  • Windows, Mac, Linux and Web: Mozilla Firefox displays SVG.
  • Web and Mobile: Google Chrome displays SVG.
  • Mobile: Safari displays SVG.

SVG and TGA compared

Targa, a raster format tied to Truevision's video boards, keeps turning up in video editing and in game development. It supports RGB, indexed-color and grayscale images. In a 24-bit file every color component gets eight bits; a 32-bit file adds an eight-bit alpha channel. Run-length encoding is optional. Moving from SVG to TGA locks the drawing to a single pixel size, so it can't be scaled up cleanly or edited as shapes again.

Your browser paints the SVG at its reported dimensions; ImageMagick then writes the TGA from those pixels. Metadata doesn't come along. The browser loads nothing from outside the file, so the TGA shows only what the SVG embeds, plus fonts installed on the device.

Other ways to convert SVG to TGA

  • ImageMagick: run magick -density 144 artwork.svg artwork.tga. -density controls the resolution at which ImageMagick draws the SVG into pixels.
  • Inkscape and ImageMagick: use Inkscape to open the SVG, press Shift+Ctrl+E and choose an export area, set the width in pixels, name the file and click Export for a PNG. Then run magick artwork.png artwork.tga.

Problems with SVG files

  • Lettering changed: text layout depends on the fonts available, so a substitute for a missing one alters the drawing.
  • A picture is missing: artwork that the SVG only points to stays blank on this page; put the image inside the file.
  • The texture looks soft: bitmaps embedded in the SVG retain their original resolution when enlarged.

Frequently Asked Questions

Everything you need to know about our converter

How do I convert an SVG to TGA?

What size will the TGA be?

Can I choose 24-bit or 32-bit?

Does the page add a background color?

Is the TGA still vector?

Why did the text change?

Why is a linked image missing?

Does the SVG's metadata carry over?