Convert XPM to SUN

Turn XPM images into SUN. A Sun raster picture at the same size, 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 Sun Raster picture from your XPM.The image keeps its width and height. Nothing is lost in the conversion.

  1. What you get

    A SUN file with the same picture as the XPM, at the same size. The conversion is lossless, so the result is a faithful copy of the image in a different format.

    XPM stores images as C source. SUN Raster is the format used for images on old Unix workstations from Sun Microsystems. You get one file for each conversion.

  2. Options

    This conversion has no options. The picture is written at the size it already has, and there is nothing to set.

  3. Going the other way

    To turn a Sun raster file back into an XPM, use SUN to XPM. For other formats, see every SUN conversion.

XPM and SUN.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 · SUN

Sun Raster

Sun Microsystems raster images from old Unix workstations.

Extensions
.ras .sun
MIME type
image/x-sun-raster
Kind
Images

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

terminal
$ cv convert photo.xpm photo.ras
$ cv convert photo.xpm photo.ras

Questions.What people ask about XPM to SUN.

01OF 04

No. The width and height stay the same as in the XPM.

No. The conversion is lossless, so the picture is carried over without loss.

It is a raster image from old Unix workstations made by Sun Microsystems. It can have the extension ras or sun.

No. This conversion has no options, so it runs as it is.

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