Convert TGA to JPG
Turn TGA images into JPEG. Same size, at quality 90 unless asked otherwise.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop TGA files on the dialor turn it to pick what to do
Game textures as JPG files.Same width and height as the TGA, at quality 90 unless you change it.
What you get
One JPG with the same width and height as your TGA. It is saved at quality 90 unless you set Quality to another value, from 1 to 100.
JPG uses lossy compression, so some detail is lost. Above 90 the file grows quickly while the picture barely changes.
What changes
JPG cannot be transparent. Transparent areas in the TGA become white. Set Background to fill them with another color, written as #RRGGBB, such as #ffffff for white.
To go the other way, use JPG to TGA.
Options
Set Max width or Set Max height to shrink a large image. The shape is kept. An image that is already smaller stays as it is, so nothing is enlarged.
Turn on Grayscale to turn colors into shades of gray, which often makes the file smaller. Set Rotate to turn the result clockwise by 90, 180 or 270 degrees.
When it stops
If the TGA cannot be parsed, the conversion stops with
input_corrupted.
TGA and JPG.What each format is, and the options this conversion takes.
- 01 · background
Background
The color that fills transparent areas, for formats such as JPEG that cannot be transparent. Write it as #RRGGBB, such as #ffffff for white.
default #ffffff - 02 · grayscale
Grayscale
Turns colors into shades of gray, which often makes the file smaller.
- 03 · max_height
Max height (px)
Shrinks anything taller than this, keeping its shape. Anything shorter stays as it is, so nothing is ever enlarged.
1 to 20000 - 04 · max_width
Max width (px)
Shrinks anything wider than this, keeping its shape. Anything narrower stays as it is, so nothing is ever enlarged.
1 to 20000 - 05 · quality
Quality
How much detail lossy compression keeps. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.
1 to 100 default 90 - 06 · rotate
Rotate
Turns the result clockwise by a quarter, a half or three quarters.
90 · 180 · 270
The formats
Truevision TGA
Truevision TGA images, common in game assets.
- Extensions
- .tga
- MIME type
- image
/x -tga - Kind
- Images
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
In your code.The same TGA to JPG conversion through the API, for your app or your agent.
$ cv convert photo.tga photo.jpg$ cv convert photo.tga photo.jpgQuestions.What people ask about TGA to JPG.
Yes. The width and height stay the same unless you set Max width or Max height. Those only shrink larger images.
It becomes white. Set Background to another color in #RRGGBB form if you want a different fill.
Yes. JPG compression is lossy, so some detail is lost. A higher Quality keeps more detail and makes a bigger file.
The file could not be parsed. The conversion stops with input_corrupted when that happens.