Skip to content
← All Guides
🔒 No Upload Required ✅ Free Forever 🌐 Browser-Based
Image Tools

How to Crop & Convert TGA to AVIF: Step-by-Step Tutorial

By Bill Crawford  ·  March 2026  ·  5 min read  ·  Last updated March 13, 2026

Connect on LinkedIn →

🚀 Follow along with the tool open. TGA to AVIF Crop Converter — free, in your browser.

Open Tool →

Overview

This tutorial walks through every step of cropping a TGA image and converting it to an AVIF file using the Data Conversion Center TGA to AVIF Crop Converter. The tool decodes TGA files directly in the browser — no plugin or software needed — and includes a quality slider so you can balance file size against visual fidelity. AVIF preserves full alpha-channel transparency from 32-bit TGA sources, so no background compositing is applied. The entire process takes under two minutes and your image never leaves your device.

Browser note: AVIF encoding requires Chrome 94+, Edge 94+, or Firefox 113+. If you are on an older browser, the tool will display an alert — use a recent Chromium-based browser for AVIF output.

Step 1: Open the Tool

Navigate to dataconversioncenter.com/image-tools/tga-to-avif-crop/ in Chrome 94+, Edge 94+, or Firefox 113+. No sign-in, no extension, and no download required. The tool works on both desktop and mobile, though desktop browsers typically have more memory available for large TGA files.

Step 2: Load Your TGA

You have two options for loading your source image:

The built-in TGA decoder handles uncompressed (type 2/3) and RLE-compressed (type 10/11) TGA files at 8, 16, 24, and 32 bits per pixel. As soon as decoding completes, the image appears in the source panel with the blue crop handles set to the full image boundary.

Step 3: Adjust the Crop Area

The crop overlay has eight handles: four at the corners and four at the midpoints of each edge:

As you drag, the crop dimensions badge in the panel header updates in real time to show the output pixel dimensions at full TGA resolution. The info bar below shows the exact pixel coordinates of the selection.

Step 4: Set the AVIF Quality

Below the crop panels, an AVIF Quality slider lets you choose the compression level before downloading. The slider runs from 50% to 100%:

AVIF compression degrades more gracefully than JPEG at lower quality settings, so 70–80% AVIF often looks better than the equivalent JPEG quality.

Step 5: Preview the Crop

Before downloading, click Preview Crop. A pop-up opens showing the cropped region at browser width, with the title displaying the exact output dimensions. Use this to verify:

Close the preview and adjust the handles or quality slider as needed before proceeding.

Step 6: Convert & Download the AVIF

When you are satisfied with the crop and quality setting, click Convert & Download AVIF. The button briefly shows "⏳ Converting…" while the tool:

  1. Creates an off-screen canvas and draws the selected pixel region at full TGA resolution using drawImage with source rectangle parameters.
  2. Calls canvas.toBlob('image/avif', quality) with the value from the quality slider.
  3. Creates a Blob URL for the encoded AVIF and triggers a browser download.

The file downloads as [original-filename]_crop.avif. For a source file named sprite.tga, the output is sprite_crop.avif. No server round-trip occurs at any point.

Step 7: Start Over (Optional)

To crop and convert a different TGA, click ↺ Start Over. This clears the current image, resets the crop handles, and returns the tool to its initial drop zone state ready for a new file.

Tips for Best Results

✍ Ready to crop and convert your TGA to AVIF?

Open TGA to AVIF Crop Converter →