Convert JPG to TGA

Turn JPG photos into TGA. A Targa picture with the same pixels and transparency, without loss.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop JPG files on the dialor turn it to pick what to do

A Targa picture with the same pixels.Your JPG becomes a TGA, upright and with transparency kept.

  1. What you get

    One TGA file with the same pixels as the JPG. The picture is written without loss, so the TGA holds exactly what the JPG decodes to.

    The JPG is turned upright by its orientation tag first. A photo that a camera stored sideways comes out the right way up.

  2. What stays the same

    The picture keeps its transparency. A JPG has none to carry over, so the point is that the TGA writes the pixels as they are and adds no new loss.

    The TGA does not undo the compression the JPG already went through. That loss happened when the JPG was made and stays in the pixels.

  3. When it fails

    If the file cannot be parsed, the conversion stops with input_corrupted. The JPG is damaged or is not a readable JPEG.

    There are no options to set. Each conversion gives one file. To go the other way, use TGA to JPG.

JPG and TGA.What each format is.

The formats

From · JPG

JPEG

Lossy photo compression that every device and browser opens. Small files, no transparency.

Extensions
.jpg .jpeg .jfif .jpe
MIME type
image/jpeg
Kind
Images
To · TGA

Truevision TGA

Truevision TGA images, common in game assets.

Extensions
.tga
MIME type
image/x-tga
Kind
Images

In your code.The same JPG to TGA conversion through the API, for your app or your agent.

terminal
$ cv convert photo.jpg photo.tga
$ cv convert photo.jpg photo.tga

Questions.What people ask about JPG to TGA.

01OF 04

The conversion adds no loss. The TGA keeps the same pixels the JPG holds, including any loss from when the JPG was first saved.

Yes. The JPG is turned upright by its orientation tag before it is written as TGA.

No. This conversion has no options and gives one file.

The file could not be parsed. The conversion stops with input_corrupted when that happens.

More conversions.Other ways in and out of JPG and TGA.