Convert FITS to WEBP

Turn FITS images into WEBP. The first image in the file, lossy at quality 90 unless lossless is set, 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

An astronomy image as a WebP picture.The first image in the FITS file becomes one WebP file.

  1. What you get

    One WebP file made from the first image in the FITS file. It is lossy at quality 90 unless you turn on Lossless.

    The values are stretched linearly from the lowest to the highest value in the image, so the full range of the data fills the picture. 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. The WebP holds the picture only, with none of the values the FITS header carried.

    Only the first image is converted. Other images or tables in the file are not part of the result.

  3. Options

    Turn on Lossless to encode without losing anything where the format can. The result is identical to the input in pixels or samples, and much bigger than a lossy one.

    Set Quality between 1 and 100 to choose how much detail lossy compression keeps. Above 90 the file grows quickly while the picture barely changes.

    Set Max width or Max height to shrink a large image while keeping its shape. Smaller images are not enlarged. Turn on Grayscale to turn colors into shades of gray, which often makes the file smaller. Set Rotate to turn the result by 90, 180 or 270 degrees clockwise.

    To go the other way, see WEBP to FITS.

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

  1. 01 · grayscale

    Grayscale

    Turns colors into shades of gray, which often makes the file smaller.

  2. 02 · lossless

    Lossless

    Encodes without losing anything where the format can. The result is identical to the input in pixels or samples, and much bigger than a lossy one.

  3. 03 · 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
  4. 04 · 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
  5. 05 · 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 90
  6. 06 · 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 · WEBP

WebP

Google's web image format with lossy and lossless modes, alpha and animation. Smaller than JPEG and PNG.

Extensions
.webp
MIME type
image/webp
Kind
Images

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

terminal
$ cv convert photo.fits photo.webp
$ cv convert photo.fits photo.webp

Questions.What people ask about FITS to WEBP.

01OF 04

No. The header keywords are not kept. Only the picture is in the WebP.

The first image in the file. The result is one file.

Yes, when the image has three planes. It comes out in color. Turn on Grayscale if you want shades of gray instead.

They are stretched linearly from the lowest to the highest value. Blank pixels are shown black.

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