JPEG to TGA Converter

Turn a JPEG photo into a Targa (TGA) file for game and video tools, in your browser.

or drop files here

JP

JPEG Format

JPEG image

A lossy raster image format defined by the Joint Photographic Experts Group (ISO/IEC 10918-1), designed for photographs. .jpg and .jpeg are the same format.

  • Lossy compression
  • 8 bits per color channel
  • No alpha transparency
TG

TGA Format

Truevision TGA (Targa)

A raster image format associated with Truevision video boards. It supports RGB, indexed-color and grayscale images, with optional run-length encoding.

  • Optional run-length compression
  • 32-bit form adds an alpha channel
  • Used in video and game workflows

How to convert JPEG to TGA

Follow these steps to convert JPEG to TGA online.

    1

    Choose your JPEG 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.

Before converting JPEG to TGA

  • The TGA is usually larger than the JPEG, because it has no lossy compression.
  • A JPEG has no transparency, so the TGA has no cutout.
  • EXIF, color profile and XMP are dropped.
  • Each JPEG gives its own TGA.

About JPEG and TGA

What is a JPEG file?

The committee behind JPEG, short for Joint Photographic Experts Group, issued its core specification first as ITU-T T.81 (1992) and then as ISO/IEC 10918-1 (1994). Pixels are grouped in 8x8 blocks, passed through a cosine transform and Huffman coded, which discards detail for good. Every color channel is limited to 8 bits in a JPEG, which also has no transparency and no layers. Both the .jpg and .jpeg endings name this format, whose media type is image/jpeg, and cameras and scanners write it by default.

Programs that open JPEG files

  • Windows, Mac and Linux: GIMP opens a JPEG as an editable image, and ImageMagick can read it.
  • Web: Chrome and Firefox show a JPEG directly in a tab.
  • Mobile: Safari displays JPEG on a phone.

JPEG and TGA compared

  • Compression: JPEG is lossy and typically makes an image ten to twenty times smaller than its raw pixels. TGA keeps the pixels as they are, and can add run-length encoding.
  • Transparency: a 32-bit TGA adds an 8-bit alpha channel to RGB, which a JPEG never has.
  • Color depth: a 24-bit TGA keeps 8 bits in each color component.
  • Uses: TGA turns up in video editing and game development, while JPEG is built into cameras and scanners.

The decoding step belongs to your browser; ImageMagick then takes the pixels and produces the Targa file. Everything passes through 8-bit RGBA, which is why the metadata does not follow. Photographs contain few repeated runs for run-length coding to exploit, so expect a file larger than the JPEG.

Other ways to convert JPEG to TGA

  • GIMP: Load the JPEG in GIMP, pick File > Export As and export it as TGA. The TGA dialog has a Use RLE compression checkbox and an Origin choice of Bottom left or Top left.
  • ImageMagick: magick photograph.jpeg texture_copy.tga writes the Targa file. ImageMagick reads and writes both JPEG and TGA.
  • Tacent View: tacentview -c photograph.jpeg --out tga runs in command-line mode, so no window opens. Its JPEG load option exifo=true applies the photo's EXIF orientation.

Problems with JPEG files

  • Cutouts are missing: the JPEG stores no transparency, so any mask has to be drawn in an editor afterwards.
  • Layers are gone: a JPEG flattens the picture, so an editable stack of layers survives only in your project file.
  • Legacy displays balk: certain old picture frames cannot show a progressive JPEG, and a baseline copy avoids that.
  • Quality settings are not portable: one quality figure gives different results from one editor to the next.

Frequently Asked Questions

Everything you need to know about our converter

How do I convert JPEG to TGA?

Why is the TGA bigger than the JPEG?

Will the TGA have transparency?

Does converting remove JPEG compression artifacts?

Is the photo's metadata kept?

Does the TGA have more color depth than the JPEG?

Who still uses TGA?

Are JPG and JPEG different?