Skip to content

Targa (TGA) to WebP converter

Targa (TGA) pixels are decoded and encoded as WebP by our image engine for tga-to-webp; no OCR is performed.

  • Converted with Image engine · input deleted within 24 h
  • Free: 5 conversions a day · 5 MB each
  • Higher limits →

What changes

  • Targa (TGA) pixels are decoded and encoded as WebP by our image engine for tga-to-webp; no OCR is performed.
  • EXIF, color profiles, layers, animation frames, and camera metadata may be stripped unless the destination requires minimal metadata.
  • Transparency stays for PNG and WebP but is filled with the selected background for JPEG, BMP, PDF, and other opaque targets.
  • Animated inputs such as GIF are flattened to a still frame unless a server codec explicitly supports animation for that output.
  • SVG input is rasterized at the requested dimensions or DPI, producing pixels rather than editable vector paths.
  • Server-only codecs or PDF rendering are used when browsers cannot safely handle the pair.

A real Targa (TGA) → WebP run

We converted our Targa (TGA) sample (237 KB) with Image engine on 2026-10-20. It took 75 ms and produced a 26 KB WebP file, 89% smaller than the input. The engine raised 1 warning, listed below.

Input · sample.tga · 237 KB

243,163 bytes

Output · sample.webp · 26 KB

240 × 300 px, extended VP8X

Width
240
Height
300
Encoding
extended VP8X
  • Image metadata stripped from output.

Options

width
Set the output width in pixels.
height
Set the output height in pixels.
fit
Contain, cover, or fill within the requested dimensions.
quality
Set lossy output quality where the codec supports it.
background
Fill transparency with this color for opaque formats.
stripMetadata
Remove source metadata when writing the output.
dpi
Rasterize SVG or PDF-derived pixels at the requested scale where supported.

Example

input
Targa (TGA) image, 1200 × 800 pixels
output
WebP image resized or re-encoded without OCR text extraction

Do it in code

python
from PIL import Image
img = Image.open("input.tga")
img.save("output.webp")

Targa (TGA) to WebP by API or MCP

The HTTP API and the MCP server run the exact engine this page uses (Image engine); the response carries the same warnings the web converter shows. Check support first with GET /api/v1/pairs?from=tga&to=webp.

curl
curl -X POST https://filetypeconverters.com/api/v1/convert \
  -H "Authorization: Bearer $FTC_API_KEY" \
  -F "file=@input.tga" -F "from=tga" -F "to=webp" \
  -F 'options={"width":0}' \
  --output output.webp

Options this engine accepts for Targa (TGA) → WebP

KeyApplies toTypeDefault
widthWriting WebPnumber0
heightWriting WebPnumber0
fitWriting WebPcontain · cover · fillcontain
qualityWriting WebPnumber90
backgroundWriting WebPstring#ffffff
stripMetadataWriting WebPbooleantrue
API reference

This converter works today; a tested write-up of what changes for Targa (TGA) → WebP is in progress.