TGA to PNG Converter

Convert a Targa texture or render into a lossless PNG in your browser.

or drop files here

TG

TGA Format

Truevision TGA (Targa)

A raster image format introduced by Truevision in 1984. It stores 8 to 32 bits per pixel with optional run-length encoding and an alpha channel.

  • Optional run-length compression
  • Alpha channel
  • 8 to 32 bits per pixel
  • Simple header
PN

PNG Format

Portable Network Graphics

A lossless raster image format developed in the mid-1990s as a patent-free replacement for GIF and standardized as ISO/IEC 15948 and a W3C Recommendation.

  • Lossless compression
  • Alpha transparency
  • 8-bit and 16-bit channels
  • Supported by every browser

How to convert TGA to PNG

Follow these steps to convert TGA to PNG online.

    1

    Choose your TGA file, or several at once.

    2

    Wait while the converter turns each file into PNG.

    3

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

What to know before converting TGA to PNG

  • The conversion sets no quality, and PNG compression is lossless.
  • The converter reads one image from the file.
  • A picture over about 537 megapixels fails with a too-large message.
  • The PNG ends in .png, so game or 3D projects must point to the new name.
  • ImageMagick runs in your tab; nothing is uploaded.

About TGA and PNG

What is a TGA file?

Targa, or TGA, is a raster format that Truevision introduced in 1984. Each pixel takes 8 to 32 bits, run-length encoding is optional, and an alpha channel may be included. It has a simple header, and ImageMagick's format list marks it as readable and writable.

Targa survives in game development and in video and 3D rendering, where artists and tools still pass textures and renders around as TGA. ImageMagick groups the ICB, VDA and VST endings with Truevision Targa, so those files are the same family.

Programs that open TGA files

  • Linux, Mac and Windows: the Targa plug-in that ships with GIMP loads and exports TGA images.
  • Linux, Mac and Windows: ImageMagick can read and write Truevision Targa, which covers the TGA, ICB, VDA and VST family.
  • Windows and Mac: Adobe Photoshop opens Targa images and provides Targa save options.

TGA and PNG compared

  • Extensions and media types: .tga (also .icb, .vda, .vst) for Targa; .png and image/png for PNG.
  • Compression: Targa's run-length encoding is optional. PNG always compresses, using DEFLATE (LZ77 plus Huffman coding), and it is lossless.
  • Color depth: Targa runs from 8 to 32 bits per pixel. PNG supports indexed, grayscale and truecolor images with 1 to 16 bits per sample.
  • Transparency: both have an alpha channel.
  • Used for: Targa serves game textures and video and 3D rendering output. PNG is the choice for sharp web graphics, interface art, logos and screenshots, and for pictures that need transparency.
  • Origin: Targa dates from 1984, and PNG from the mid-1990s, when it was devised as a patent-free successor to GIF. October 1996 saw it become the W3C's first published Recommendation for an image format. Its standards-body editions are RFC 2083 and ISO/IEC 15948:2004.
  • Reach: browsers of every major kind show PNG, and no known patent on it demands royalties. GIMP, Windows Photos and Preview on macOS open it too, and macOS saves screenshots in PNG by default.
  • Media types: image/png is registered for PNG, and image/apng for animated files.
  • Structure: inside a PNG you find a fixed signature and then a run of chunks; the header lives in IHDR, image data sits in IDAT and IEND ends the file.
  • Newer features: software without animation support shows PNG's default still image, though the specification itself now covers animated PNG. The third edition adds HDR support via a cICP chunk and Exif metadata in an eXIf chunk.

Mostly the wrapper changes here. ImageMagick compiled to WebAssembly reads the TGA and writes a PNG, and the page passes no quality setting. The file is read as a single image, and nothing is uploaded. A picture over about 537 megapixels is turned away. Your original TGA is not changed, since you download a new copy. When you pick several files, they are handled one at a time and no ZIP is made.

Other ways to convert TGA to PNG

  • ImageMagick (command line): run magick texture.tga texture.png. ImageMagick's format list shows TGA and PNG as both readable and writable, and its quickstart shows the same pattern: magick rose.jpg rose.png.
  • GIMP (Windows, Mac, Linux): open the TGA with File > Open, then pick File > Export As and give it the name texture.png. The PNG dialog that follows lists pixel format and metadata options. The compression level only trades speed for size, since PNG compression is not lossy.
  • IrfanView: choose File > Open for the Targa, then File > Save as and select PNG. IrfanView's format list marks TGA and PNG as readable and savable, and its FAQ says to set the new file name or folder and save.

Problems with TGA files

  • An indexed TGA with transparency looks wrong in one program: programs differ here. GIMP 2.10.32 improved its support for indexed Targa images with an alpha channel, on both import and export.
  • A tool rejects the file by its ending: the ICB, VDA and VST endings name Truevision Targa too, but this page's file picker lists .tga files.
  • The page calls the picture too large: reduce the render's pixel count in an editor, then convert again.
  • The PNG has a different file size: Targa's run-length encoding is optional and PNG always compresses. PNG compression is lossless, so a different size is not a quality loss.
  • A file with several images gives one picture: only a single image is taken from the file.

Frequently Asked Questions

Everything you need to know about our converter

How do I open a TGA file as a PNG?

Does PNG lose quality compared with my TGA?

Is my TGA uploaded anywhere?

What if my TGA is huge?

Can I swap the PNG back into my game as the texture?

How is PNG different from TGA for textures?

Does it convert several TGA files at once?

What does the converter do with a TGA that holds several images?

What is a TGA file?

Which programs open a TGA without converting it?