TGA to AVIF Crop Converter
Load a TGA file, drag the crop handles to define exactly the area you need, adjust quality, preview the result, then download a modern AVIF image. 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 converts the selected area to an AVIF file. No server upload is required. The full workflow — loading, decoding, cropping, and AVIF encoding — runs entirely in client-side JavaScript using the HTML5 Canvas API. TGA files are decoded with a built-in parser that handles uncompressed (type 2/3) and RLE-compressed (type 10/11) TGA variants at 8, 16, 24, and 32 bits per pixel. A quality slider lets you balance file size against visual fidelity before downloading. Alpha-channel transparency from 32-bit TGA sources is preserved in the output AVIF, unlike JPEG-based tools that flatten transparency to white.
Who This Is For
- Game developers exporting TGA textures or sprite sheets for web delivery as AVIF
- 3D artists converting render outputs from TGA to a web-optimized AVIF format
- Web developers who need a compact, high-quality AVIF from a legacy TGA source asset
- Anyone who needs to trim and convert a TGA to AVIF without installing Photoshop or GIMP
TGA vs AVIF: Format Comparison
| Property | TGA | AVIF |
|---|---|---|
| Compression | Uncompressed or RLE | Highly compressed (AV1-based) |
| File size | Very large | Very small — typically 10–20× smaller than TGA |
| Quality loss | None | Lossy or lossless modes available |
| Browser support | Not supported natively | Chrome 85+, Firefox 113+, Safari 16.4+ |
| Transparency | Full alpha channel (32-bit) | Full alpha channel |
| Best for | Game assets, 3D renders, legacy pipelines | Modern web delivery, apps, thumbnails |
| Color depth | 8, 16, 24, 32-bit | Up to 12-bit HDR |
