Convert GIF to XPM

Turn GIF images into XPM. An X11 pixmap written as C source text, with a color palette and transparency.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

An XPM file written as C source.Your GIF becomes an X11 pixmap with a color palette and transparency.

  1. What you get

    One XPM file. It is an X11 pixmap written as C source text, so you can open it in a text editor and read it.

    The image comes with a color palette, and transparency is kept.

  2. What it leaves behind

    An animated GIF gives only its first frame. The other frames are not in the XPM file.

    The conversion has no options, so there is nothing to set before you convert.

  3. Going back

    To turn an XPM file into a GIF again, use XPM to GIF. For other GIF conversions, see every GIF conversion.

GIF and XPM.What each format is.

The formats

From · GIF

GIF

Indexed-color images with simple animation. Limited to 256 colors per frame.

Extensions
.gif
MIME type
image/gif
Kind
Images
To · XPM

X PixMap

X PixMap, images as C source.

Extensions
.xpm
MIME type
image/x-xpixmap
Kind
Images

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

terminal
$ cv convert photo.gif photo.xpm
$ cv convert photo.gif photo.xpm

Questions.What people ask about GIF to XPM.

01OF 04

XPM is short for X PixMap. It stores an image as C source.

No. Only the first frame is written to the XPM file.

Yes. The XPM file keeps transparency along with its color palette.

No. This conversion has no options, and each GIF gives one file.

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