Convert XPM to TGA

Turn XPM 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 XPM files on the dialor turn it to pick what to do

A Targa picture with nothing lost.The pixels and the transparency carry over from the XPM to the TGA.

  1. What you get

    One TGA file. It holds the same pixels and the same transparency as the XPM, without loss.

    XPM stores an image as C source. TGA is an image format that is common in game assets.

  2. What changes

    The picture does not change. Only the container does: the image moves out of C source text and into a Truevision TGA file.

    Transparent areas stay transparent, so you do not need to fill them with a color.

  3. Going the other way

    To turn a TGA back into an XPM, use TGA to XPM. For other XPM conversions, see every XPM conversion.

XPM and TGA.What each format is.

The formats

From · XPM

X PixMap

X PixMap, images as C source.

Extensions
.xpm
MIME type
image/x-xpixmap
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 XPM to TGA conversion through the API, for your app or your agent.

terminal
$ cv convert photo.xpm photo.tga
$ cv convert photo.xpm photo.tga

Questions.What people ask about XPM to TGA.

01OF 04

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

Yes. Transparent areas in the XPM stay transparent in the TGA.

One file, a TGA.

No. This conversion has no options.

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