Skip to content

Targa (TGA) to PDF converter

Targa (TGA) pixels are decoded and encoded as PDF by our image engine for tga-to-pdf; 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 PDF by our image engine for tga-to-pdf; 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) → PDF run

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

Input · sample.tga · 237 KB

243,163 bytes

Output · sample.pdf · 12 KB

PDF 1.4, 1 page, no text layer, 1 image object

Version
1.4
Pages
1
Images
1
Text layer
no
  • 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
PDF 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.pdf")

Targa (TGA) to PDF 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=pdf.

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=pdf" \
  -F 'options={"width":0}' \
  --output output.pdf

Options this engine accepts for Targa (TGA) → PDF

KeyApplies toTypeDefault
widthWriting PDFnumber0
heightWriting PDFnumber0
fitWriting PDFcontain · cover · fillcontain
qualityWriting PDFnumber90
backgroundWriting PDFstring#ffffff
stripMetadataWriting PDFbooleantrue
API reference

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