Convert PNM to TGA

Turn PNM images into TGA. A Targa picture with the same pixels and transparency, without loss.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop PNM files on the dialor turn it to pick what to do

A Targa picture from a PNM file.The pixels and transparency carry over without loss.

  1. What you get

    A TGA file with the same pixels and the same transparency as the PNM you start with. Nothing is lost in the conversion.

    The result is one file. TGA is common in game assets, so the picture is ready for tools that expect that format.

  2. About the input

    PNM covers the portable anymap family: PBM, PGM and PPM. Files with the extensions pnm, ppm, pgm and pbm are all accepted as input.

    To go the other way, use TGA to PNM.

PNM and TGA.What each format is.

The formats

From · PNM

Portable Anymap

Portable anymap images, the simplest raster format: PBM, PGM and PPM.

Extensions
.pnm .ppm .pgm .pbm
MIME type
image/x-portable-anymap
Kind
Images
To · TGA

Truevision TGA

Truevision TGA images, common in game assets.

Extensions
.tga
MIME type
image/x-tga
Kind
Images

In your code.The same PNM to TGA conversion through the API, for your app or your agent.

terminal
$ cv convert photo.pnm photo.tga
$ cv convert photo.pnm photo.tga

Questions.What people ask about PNM to TGA.

01OF 04

No. The TGA has the same pixels and transparency as the PNM, without loss.

PBM, PGM and PPM files, with the extensions pnm, ppm, pgm or pbm.

One file. The result is a single TGA.

Yes. TGA to PNM does the reverse conversion.

More conversions.Other ways in and out of PNM and TGA.