Convert TGA to WEBP
Turn TGA images into WEBP. Same size and transparency, lossy at quality 90 unless lossless is set.
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 in a web format.The picture keeps its width, height and transparency. It is lossy at quality 90 unless you choose Lossless.
What you get
One WEBP file from your TGA image. It has the same width and height as the original, and transparent areas stay transparent.
By default the conversion is lossy at quality 90. Some detail is lost, so the pixels are not identical to the TGA.
Keeping every pixel
Turn on Lossless to encode without losing anything where the format can. The result is identical to the input in pixels, and much bigger than a lossy file.
Quality sets 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.
Size and orientation
Set Max width or Set Max height to shrink a large image while keeping its shape. Anything already smaller stays as it is, so nothing is enlarged. Both accept values from 1 to 20000.
Set Rotate to turn the result clockwise by 90, 180 or 270 degrees. Turn on Grayscale to change colors into shades of gray, which often makes the file smaller.
When it fails
A TGA file that cannot be parsed stops with
input_corrupted. No WEBP is made from it.
TGA and WEBP.What each format is, and the options this conversion takes.
- 01 · grayscale
Grayscale
Turns colors into shades of gray, which often makes the file smaller.
- 02 · lossless
Lossless
Encodes without losing anything where the format can. The result is identical to the input in pixels or samples, and much bigger than a lossy one.
- 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
WebP
Google's web image format with lossy and lossless modes, alpha and animation. Smaller than JPEG and PNG.
- Extensions
- .webp
- MIME type
- image
/webp - Kind
- Images
In your code.The same TGA to WEBP conversion through the API, for your app or your agent.
$ cv convert photo.tga photo.webp$ cv convert photo.tga photo.webpQuestions.What people ask about TGA to WEBP.
The width and height stay the same unless you set Max width, Max height or Rotate. Transparency is kept too.
Not by default. It is lossy at quality 90. Turn on Lossless to get pixels identical to the input.
Yes. WEBP to TGA converts the file back. A lossy WEBP does not restore detail lost during the first conversion.
The TGA could not be parsed. The conversion stops and gives no WEBP.