Convert FITS to AVIF

Turn FITS images into AVIF. The first image in the file, lossy at quality 60 unless asked otherwise, 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 telescope image as an AVIF.The first image in the FITS file becomes one AVIF, stretched to show its full range.

  1. What you get

    One AVIF file made from the first image in the FITS file. It is lossy, at Quality 60 unless you change it.

    The values are stretched linearly from the lowest to the highest in the image, so the darkest value becomes black and the brightest becomes white. Blank pixels are shown black. An image with three planes comes out in color.

  2. What it leaves behind

    The header keywords are not kept. Values such as the observation details stored in the FITS header do not appear in the AVIF.

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

    Because the conversion is lossy, the AVIF does not hold every detail of the original data.

  3. Size and quality options

    Set Max width (px) or Max height (px) to shrink a large image while keeping its shape. Images already smaller than the limit stay as they are, so nothing is enlarged.

    Raise Quality to keep more detail at the cost of a bigger file. Above 90 the file grows quickly while the picture barely changes. Use Rotate to turn the result clockwise by 90, 180 or 270 degrees.

    To go the other way, see AVIF to FITS.

FITS and AVIF.What each format is, and the options this conversion takes.

  1. 01 · 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
  2. 02 · 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
  3. 03 · quality

    Quality

    How much detail lossy compression keeps. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.

    1 to 100 default 60
  4. 04 · rotate

    Rotate

    Turns the result clockwise by a quarter, a half or three quarters.

    90 · 180 · 270

The formats

From · FITS

FITS

FITS, the image and table format of astronomy.

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

AVIF

AV1-based images with better compression than WebP and support for HDR and alpha.

Extensions
.avif
MIME type
image/avif
Kind
Images

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

terminal
$ cv convert photo.fits photo.avif
$ cv convert photo.fits photo.avif

Questions.What people ask about FITS to AVIF.

01OF 04

No. The header keywords are not kept, only the picture.

The first image. The result is one file.

Yes, if the image has three planes. It then comes out in color.

No. The conversion is lossy, and the values are stretched from the lowest to the highest, so the AVIF is a view of the image, not the original data.

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