Skip to content

Free toolsImages

TGA to PNG

Truevision Targa — the texture and render format — with its alpha kept.

More free conversions, where you upload. The Fylane extension does the same work inside any upload form, on its own free share every day.About the extension

How to convert TGA to PNG

  1. Drop the TGA.
  2. Nothing to choose.
  3. Press Convert and download the PNG.

What happens to your file

ImageMagick reads the Targa file on Fylane’s servers — uncompressed or run-length encoded, 8 to 32 bits, colour-mapped or true colour — into a lossless PNG, alpha included, and the ordinary pipeline encodes that. A TGA has no signature at its start; Fylane knows it by its footer or by a header that adds up, so a file renamed .tga that is something else is refused by its real kind.

Questions

Is the alpha channel kept?

Yes — a 32-bit TGA becomes a PNG with transparency. For a texture whose alpha holds a mask rather than transparency, the PNG carries the same values.

Do this in code

curl -X POST https://api.fylane.dev/v1/jobs \
  -H "Authorization: Bearer $FYLANE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "file_id": "<file id>",
    "operation": "image.convert",
    "options": {
      "format": "png"
    }
  }'

The same operation, image.convert — Re-encode to WebP, JPEG, PNG or AVIF at your quality. Upload first with the quickstart; every option is on the operations page. 500 free credits a month, then $5 per thousand.