Convert PSD to XPM
Turn PSD images into XPM. The flattened picture saved in the file is read, with CMYK made RGB; layers are not read one by one.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop PSD files on the dialor turn it to pick what to do
A PSD turned into XPM source text.The result is a C source file with a color palette and transparency.
What you get
One XPM file, an X11 pixmap written as C source text. The image is stored as a color palette and the pixels that refer to it.
Transparency is kept, so areas that are see-through in the PSD stay see-through in the XPM.
Where XPM fits
XPM is a format for images as C source. Because the file is plain text, a program can include it in its code. The reverse conversion is XPM to PSD.
PSD and XPM.What each format is.
The formats
Photoshop Document
Photoshop documents with layers.
- Extensions
- .psd
- MIME type
- image
/vnd .adobe .photoshop - Kind
- Images
X PixMap
X PixMap, images as C source.
- Extensions
- .xpm
- MIME type
- image
/x -xpixmap - Kind
- Images
In your code.The same PSD to XPM conversion through the API, for your app or your agent.
$ cv convert photo.psd photo.xpm$ cv convert photo.psd photo.xpmQuestions.What people ask about PSD to XPM.
It is an X11 pixmap written as C source text. It holds a color palette and the pixels that use it.
Yes. The XPM keeps transparency along with its color palette.
One file. The conversion writes a single XPM.
No. This conversion has no options.