Convert FITS to BMP

Turn FITS images into Bitmap. The first image in the file as 8 bits without compression, stretched linearly from its lowest to its highest value with blank pixels shown black; a three-plane image comes out in color.

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 FITS image as a plain bitmap.The first image in the file becomes one BMP, 8 bits and uncompressed.

  1. What you get

    A single BMP made from the first image in the FITS file. It is 8 bits per pixel and has no compression, so it opens in anything that reads Bitmap files.

    The values are stretched linearly from the lowest value in the image to the highest. The darkest value maps to the bottom of the range and the brightest to the top. Blank pixels are shown black.

    A three-plane image comes out in color.

  2. What it leaves behind

    Only the first image is converted. Any other images in the file are not part of the output.

    The header keywords are not kept. Things such as the observation details stored in the header do not appear in the BMP, which holds only the pixels.

  3. Going the other way

    To turn a bitmap back into FITS, use BMP to FITS. The stretch is applied when the BMP is made, so the original values are not stored in it.

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

Bitmap

Windows bitmap. Uncompressed pixels, large files, read by everything.

Extensions
.bmp .dib
MIME type
image/bmp
Kind
Images

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

terminal
$ cv convert photo.fits photo.bmp
$ cv convert photo.fits photo.bmp

Questions.What people ask about FITS to BMP.

01OF 04

The first one. The output is one BMP file.

Linearly, from the lowest value in the image to the highest. Blank pixels are shown black.

Yes, when the image has three planes. Other images come out as 8-bit BMP files.

No. The BMP holds the pixels only, and the header keywords are not kept.

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