TGA to GIF Crop Converter

Load a TGA file, drag the crop handles to define the area you need, preview the result, then download a GIF with up to 256 colours. 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 encodes the selected region as a GIF 89a file. No server upload is required. TGA files are decoded with a built-in parser handling uncompressed and RLE-compressed variants at 8, 16, 24, and 32 bits per pixel. The GIF encoder performs median-cut colour quantisation to reduce the cropped image to a 256-entry palette, applies Floyd-Steinberg dithering to minimise visible banding, then writes a valid GIF 89a bitstream including LZW-compressed image data. If the TGA source has an alpha channel, transparent pixels (alpha below 128) are mapped to a reserved transparent palette entry in the GIF.

Who This Is For

  • Web developers who need a widely compatible GIF from a flat graphic or logo stored in TGA format
  • Game developers exporting sprite icons or UI elements from TGA to GIF for web or email use
  • Content creators converting a TGA graphic to GIF for use in presentations or messaging apps
  • Anyone who needs to extract and convert a TGA region to GIF without installing Photoshop or GIMP

TGA vs GIF: Format Comparison

PropertyTGAGIF
Colour depthUp to 32-bit (16.7M colours)Maximum 256 colours per frame
CompressionNone or RLELZW lossless
File sizeLarge (uncompressed)Small for flat graphics; larger for photos
Browser supportNot natively supportedUniversal — every browser and device
TransparencyFull alpha channel (32-bit)Binary only — fully transparent or opaque
AnimationNot supportedSupported (multiple frames)
Best forGame assets, 3D renders, texturesSimple graphics, logos, icons, animations

Frequently Asked Questions

Why does my photo look banded after conversion to GIF?
GIF is capped at 256 colours. Photographic images contain millions of colours; reducing them to 256 causes visible posterisation or banding in gradients. The tool applies Floyd-Steinberg dithering to distribute quantisation error across neighbouring pixels, which significantly reduces banding but cannot eliminate it for complex photographic content. GIF works best for flat graphics, logos, and illustrations.
How is transparency handled?
GIF supports only binary (on/off) transparency. Any pixel in the source TGA with alpha below 128 is treated as fully transparent in the output GIF; any pixel with alpha at or above 128 is treated as fully opaque. Partial transparency cannot be represented in GIF — use TGA to PNG Crop for full alpha support.
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 GIF encoding begins.
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?
All modern browsers — Chrome, Firefox, Edge, and Safari (desktop and mobile). The TGA decoder and GIF encoder are pure JavaScript requiring only standard ArrayBuffer and Blob APIs.
Is there a file size limit?
No server limit exists as no upload occurs. GIF encoding is CPU-intensive due to quantisation and LZW compression. Very large crops (above 2000×2000 px) may take a few seconds on slower devices — the button shows a converting indicator while processing.