Convert SUN to XPM
Turn SUN 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 SUN files on the dialor turn it to pick what to do
Your SUN image as XPM source.An X11 pixmap written as C source text, with a color palette and transparency.
What you get
One XPM file for your SUN image. XPM stores an image as C source text, so the result is a text file you can open in an editor.
The file holds a color palette, and the image is drawn from the entries in that palette. Transparency is kept as well.
Going the other way
SUN files are Sun Microsystems raster images from old Unix workstations. To turn an XPM back into a SUN file, use XPM to SUN.
SUN and XPM.What each format is.
The formats
Sun Raster
Sun Microsystems raster images from old Unix workstations.
- Extensions
- .ras .sun
- MIME type
- image
/x -sun -raster - Kind
- Images
X PixMap
X PixMap, images as C source.
- Extensions
- .xpm
- MIME type
- image
/x -xpixmap - Kind
- Images
In your code.The same SUN to XPM conversion through the API, for your app or your agent.
$ cv convert photo.ras photo.xpm$ cv convert photo.ras photo.xpmQuestions.What people ask about SUN to XPM.
X PixMap, an image stored as C source. This conversion writes it with a color palette and transparency.
Yes. XPM is C source text, so the file is readable as text.
Yes. The XPM is written with transparency.
Yes. Each conversion gives one XPM file.