Convert FITS to XPM
Turn FITS images into XPM. Only the first image in the file is read, as 8 bits stretched linearly from its lowest to its highest value with blank pixels shown black; a three-plane image comes out in color, and the header keywords are not kept.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop FITS files on the dialor turn it to pick what to do
An X11 pixmap from your FITS image.You get one XPM file, written as C source text with a color palette and transparency.
What you get
One XPM file for each FITS file. XPM is the X PixMap format, which stores images as C source. The result is an X11 pixmap with a color palette.
Transparency is part of the output, so the XPM can carry transparent areas.
Using the result
Because an XPM is C source text, you can open it in a text editor. To go the other way, XPM to FITS converts an XPM back into a FITS file.
FITS and XPM.What each format is.
The formats
FITS
FITS, the image and table format of astronomy.
- Extensions
- .fits .fts
- MIME type
- image
/fits - Kind
- Images
X PixMap
X PixMap, images as C source.
- Extensions
- .xpm
- MIME type
- image
/x -xpixmap - Kind
- Images
In your code.The same FITS to XPM conversion through the API, for your app or your agent.
$ cv convert photo.fits photo.xpm$ cv convert photo.fits photo.xpmQuestions.What people ask about FITS to XPM.
It is an X11 pixmap written as C source text. It has a color palette and transparency.
Yes. The output carries transparency along with its color palette.
You get one file.
Yes. XPM to FITS does that.