Convert FITS to XBM

Turn FITS images into XBM. 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

A black and white bitmap as C source.The FITS image becomes an X11 bitmap, written as text.

  1. What you get

    One XBM file. It is an X11 bitmap in black and white only, written as C source text.

    XBM holds monochrome images, so the result has two tones and nothing in between.

  2. What changes

    Color and shades of gray do not carry over, because XBM has only black and white. Expect the picture to be reduced to those two tones.

    The output is C source, not a binary image. You can read it in a text editor.

  3. Going the other way

    To turn an XBM back into FITS, use XBM to FITS. For other options, see every XBM conversion.

FITS and XBM.What each format is.

The formats

From · FITS

FITS

FITS, the image and table format of astronomy.

Extensions
.fits .fts
MIME type
image/fits
Kind
Images
To · XBM

X BitMap

X BitMap, monochrome images as C source.

Extensions
.xbm
MIME type
image/x-xbitmap
Kind
Images

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

terminal
$ cv convert photo.fits photo.xbm
$ cv convert photo.fits photo.xbm

Questions.What people ask about FITS to XBM.

01OF 04

X BitMap is a format for monochrome images stored as C source.

No. The output is black and white only.

Yes. XBM is written as C source text, so it is readable as text.

One file.

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