GIF to TGA Converter

Save the first frame of a GIF as a TGA still, in your browser.

or drop files here

GI

GIF Format

Graphics Interchange Format

A palette-based image or animation with a limited transparency model.

  • Indexed colors
  • Timed frames possible
  • Binary pixel transparency
TG

TGA Format

Truevision TGA (Targa)

A Targa still-image format used by graphics workflows.

  • Raster image
  • RGB variants
  • Optional RLE

How to convert GIF to TGA

Follow these steps to convert GIF to TGA online.

    1

    Choose your GIF file, or several at once.

    2

    Wait while the converter turns each file into TGA.

    3

    Download each new TGA file. Your original file isn't changed.

Converting GIF to TGA

  • Your browser decodes the GIF and ImageMagick writes the TGA.
  • An animated GIF gives a single still, its first frame.
  • The pixels pass through 8-bit RGBA.
  • Several GIFs convert one after another, each into its own TGA.

GIF background and TGA conversion

What is a GIF file?

CompuServe introduced GIF in 1987. Every image in a GIF is limited to a 256-color palette and compressed without loss using LZW. One GIF can store many images, each with a delay measured in hundredths of a second, which is how it animates. GIF89a, released in July 1990, let files carry transparency flags, frame delays, comments and application data. Transparency works by flagging a single palette entry, so a pixel is either clear or opaque. Every major browser displays GIF, and its media type is image/gif.

Programs that open GIF files

  • Windows, Mac and Linux: In GIMP you can export a single image or a layered animation to GIF and make the animation repeat endlessly. ImageMagick reads GIF.
  • Web: Google Chrome and Mozilla Firefox display it.
  • Mobile: Safari and Google Chrome display it too.

GIF and TGA compared

  • Color: a GIF is limited to a palette. A 24-bit TGA stores 8 bits per color component, and a 32-bit TGA adds an 8-bit alpha channel.
  • Animation: a GIF can animate. A TGA is a single still image.
  • Compression: GIF uses LZW. TGA can use optional run-length encoding.
  • Use: video editing and game development workflows still use Targa images.

The page decodes the GIF in your browser and ImageMagick writes the TGA. Only the first frame of an animated GIF is converted, so open the TGA in an image viewer afterwards to confirm it shows the frame you wanted.

Other ways to convert GIF to TGA

  • ImageMagick: run magick 'animation.gif[0]' still.tga. ImageMagick counts frames from zero, so [0] is the first image, and a different number picks a later one. ImageMagick reads and writes both GIF and Truevision Targa.

Problems with GIF files

  • Soft edges turn hard: partial opacity is impossible in a GIF, so transparent edges are clear or opaque before the page reads them.
  • Gradients look banded: GIMP reduces a GIF export to a palette, which can change gradients.
  • Frames cover each other wrongly: each frame carries a disposal setting that controls what happens to the previous image, so a wrong setting smears the animation.
  • A comment is missing: GIMP leaves out a GIF comment that has characters outside seven-bit ASCII.

Frequently Asked Questions

Everything you need to know about our converter

Will an animated GIF become an animated TGA?

How do I choose a different GIF frame?

Can the TGA bring back colors the GIF lost?

Why would I want a TGA from a GIF?

Does the TGA keep the GIF's metadata?

What is the TGA file called?

Can I convert several GIFs together?

What does "Image decode failed" mean?