Convert CUR to XPM

Turn CUR images into XPM. Only the first picture in the cursor is read, and its hotspot is dropped.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

A cursor image as C source text.The Windows cursor becomes an X11 pixmap with a color palette and transparency.

  1. What you get

    One XPM file. XPM stores an image as C source text, so you can open the result in a text editor and include it in a C program.

    The picture is written with a color palette. Transparent areas of the cursor stay transparent in the XPM.

  2. Going the other way

    XPM to CUR runs in reverse. If you need a Windows cursor from an XPM file, use XPM to CUR.

CUR and XPM.What each format is.

The formats

From · CUR

Windows Cursor

Windows cursors.

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

terminal
$ cv convert photo.cur photo.xpm
$ cv convert photo.cur photo.xpm

Questions.What people ask about CUR to XPM.

01OF 04

XPM is the X PixMap format. It holds an image as C source code.

Yes. Transparent areas of the cursor stay transparent in the XPM.

Yes. The colors are written as a palette in the C source text.

No. The result is one XPM file.

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