Convert FITS to GIF
Turn FITS images into GIF. The first image in the file, stretched linearly from its lowest to its highest value with blank pixels shown black and reduced to a palette of 256 colors; 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 GIF picture of an astronomy image.The first image in the FITS file becomes one GIF.
What you get
One GIF made from the first image in the file. Its values are stretched linearly from the lowest to the highest, so the darkest value becomes black and the brightest becomes white. Blank pixels are shown black.
The picture is reduced to a palette of 256 colors, the most a GIF frame can hold. An image with three planes comes out in color.
What it leaves behind
The header keywords are not kept. Values such as the observation details stored in the header do not appear in the GIF.
Only the first image is converted. Any other images or tables in the file are not part of the result.
Options
Set Grayscale to turn colors into shades of gray, which often makes the file smaller. Set Max width or Max height to shrink a large image while keeping its shape. Images that are already smaller stay as they are, so nothing is enlarged.
Set Rotate to turn the result clockwise by 90, 180 or 270 degrees.
To go the other way, use GIF to FITS.
FITS and GIF.What each format is, and the options this conversion takes.
- 01 · grayscale
Grayscale
Turns colors into shades of gray, which often makes the file smaller.
- 02 · max_height
Max height (px)
Shrinks anything taller than this, keeping its shape. Anything shorter stays as it is, so nothing is ever enlarged.
1 to 20000 - 03 · max_width
Max width (px)
Shrinks anything wider than this, keeping its shape. Anything narrower stays as it is, so nothing is ever enlarged.
1 to 20000 - 04 · rotate
Rotate
Turns the result clockwise by a quarter, a half or three quarters.
90 · 180 · 270
The formats
FITS
FITS, the image and table format of astronomy.
- Extensions
- .fits .fts
- MIME type
- image
/fits - Kind
- Images
GIF
Indexed-color images with simple animation. Limited to 256 colors per frame.
- Extensions
- .gif
- MIME type
- image
/gif - Kind
- Images
In your code.The same FITS to GIF conversion through the API, for your app or your agent.
$ cv convert photo.fits photo.gif$ cv convert photo.fits photo.gifQuestions.What people ask about FITS to GIF.
No. The header keywords are not kept. Only the picture is in the GIF.
The first image in the file. The result is one file.
Yes, if the image has three planes. It then comes out in color. Set Grayscale if you want shades of gray instead.
No. Max width and Max height only shrink images that are larger than the limit. Smaller ones stay as they are.