TGA to SVG Crop Converter
Load a TGA file, drag the crop handles to define the area you need, preview the result, then download a self-contained SVG with your crop embedded as a lossless PNG. Everything runs in your browser — your image never leaves your device.
Drop a TGA here
or Browse Files · TGA supported
What This Tool Does
This tool loads a TGA (Truevision TGA) image directly in your browser, presents an interactive crop overlay with draggable handles, and generates a self-contained SVG file embedding the cropped region as a base64-encoded PNG. No server upload is required. Because TGA is a raster format and SVG is a vector format, fully automatic vector tracing is not performed — the cropped pixels are preserved at their native resolution inside a valid SVG <image> element with explicit width, height, and viewBox attributes. The embedded PNG uses lossless encoding, preserving full alpha-channel transparency from 32-bit TGA sources. The resulting SVG opens correctly in Adobe Illustrator, Inkscape, Affinity Designer, and all major browsers.
Who This Is For
- Web developers who need a TGA game asset or sprite available as an SVG for use in HTML or CSS
- Designers embedding a cropped TGA render in an Illustrator or Inkscape workflow as a scalable SVG container
- Developers packaging raster assets as SVG for use in frameworks that expect SVG inputs
- Anyone who needs a self-contained, browser-displayable SVG from a TGA crop without installing Photoshop or GIMP
TGA vs SVG: Format Comparison
| Property | TGA | SVG (embedded raster) |
|---|---|---|
| Image type | Raster (pixels) | Vector container (can embed raster) |
| Browser support | Not natively supported | Universal — all modern browsers |
| Scalability | Fixed resolution — pixelates when enlarged | SVG container scales; raster content still fixed |
| Transparency | Full alpha channel (32-bit) | Full alpha preserved via embedded PNG |
| Editability | Pixel editing only | Opens in Illustrator, Inkscape, Affinity Designer |
| File size | Large (uncompressed) | Larger than PNG alone due to base64 overhead (~33%) |
| Best for | Game assets, 3D renders | Web embeds, design tool workflows, SVG-based pipelines |
