Convert XPM to FITS

Turn XPM images into FITS. A FITS image with the same pixel values, for astronomy tools.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

An XPM image as a FITS file.The pixel values stay the same. The result is one FITS file for astronomy tools.

  1. What you get

    A FITS image with the same pixel values as the XPM. XPM stores images as C source, and FITS is the image and table format of astronomy, so the picture can be opened in tools that read FITS.

    The conversion gives you one file. The output can use the extension fits or fts.

  2. Options and limits

    This conversion has no options to set. You give it an XPM file and receive a FITS file.

    To go the other way, use FITS to XPM. For other conversions of this format, see every XPM conversion.

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

FITS

FITS, the image and table format of astronomy.

Extensions
.fits .fts
MIME type
image/fits
Kind
Images

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

terminal
$ cv convert photo.xpm photo.fits
$ cv convert photo.xpm photo.fits

Questions.What people ask about XPM to FITS.

01OF 04

No. The FITS image has the same pixel values as the XPM.

XPM, short for X PixMap, stores an image as C source.

FITS is the image and table format of astronomy. This conversion makes a FITS image so astronomy tools can use the picture.

No. It has no options, and it produces one file.

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