Convert ICNS to XPM

Turn ICNS images into XPM. Only the largest picture in the icon is read; the smaller sizes are dropped.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

An icon as X11 pixmap source.The ICNS file becomes an XPM, an image written as C source text.

  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 file carries a color palette, and it keeps transparency. Transparent parts of the icon stay transparent in the XPM.

  2. Where it fits

    XPM is the X PixMap format, made for images that live as C source. ICNS is the macOS application icon format, one file holding the icon at several sizes.

    The conversion has no options, so there is nothing to set. You choose the file and get the XPM.

    To go the other way, use XPM to ICNS.

ICNS and XPM.What each format is.

The formats

From · ICNS

Apple Icon Image

macOS application icons, one file holding the icon at several sizes.

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

terminal
$ cv convert photo.icns photo.xpm
$ cv convert photo.icns photo.xpm

Questions.What people ask about ICNS to XPM.

01OF 04

It is an X PixMap, an image stored as C source text. This one comes with a color palette and transparency.

Yes. The XPM is written with transparency.

No. This conversion has no options.

One file. The output is a single XPM.

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