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.
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.
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.
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
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
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.
$ cv convert photo.jpg photo.tga$ cv convert photo.jpg photo.tgaQuestions.What people ask about JPG to TGA.
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.