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

PropertyTGAAVIF
CompressionUncompressed or RLEHighly compressed (AV1-based)
File sizeVery largeVery small — typically 10–20× smaller than TGA
Quality lossNoneLossy or lossless modes available
Browser supportNot supported nativelyChrome 85+, Firefox 113+, Safari 16.4+
TransparencyFull alpha channel (32-bit)Full alpha channel
Best forGame assets, 3D renders, legacy pipelinesModern web delivery, apps, thumbnails
Color depth8, 16, 24, 32-bitUp to 12-bit HDR

Frequently Asked Questions

What quality setting should I use?
The default of 85% is a good starting point for most content — AVIF's compression is highly efficient, so 85% typically produces excellent visual results. Use 70–80% for aggressively small web assets, or 90–100% when maximum fidelity is required. AVIF quality degrades more gracefully than JPEG at lower settings.
Is the alpha channel from my TGA preserved in the AVIF?
Yes. AVIF supports a full alpha channel. If your source TGA is 32-bit with an alpha channel, the transparency is retained in the AVIF output. There is no need to flatten to a background colour.
How precise is the crop tool?
The crop operates at native pixel accuracy on the original TGA dimensions. The canvas is scaled to fit your screen for display, but crop coordinates are mapped back to the full-resolution image before the AVIF is generated.
Can I move the crop selection after setting it?
Yes — click and drag inside the crop rectangle (away from the handles) to reposition it anywhere within the image. Handles resize; the interior pans.
What browsers are supported?
The crop UI works in all modern browsers. AVIF encoding via the Canvas API requires Chrome 94+, Edge 94+, or Firefox 113+. If your browser does not support AVIF encoding, the tool will alert you. Safari users should update to 16.4+ for AVIF display; for encoding, use Chrome or Edge.
Is there a file size limit?
There is no server-imposed limit because no upload occurs. The practical limit is your browser's available RAM. Most modern desktops handle large TGA files comfortably; very large files on mobile may be slower.