Convert FITS to JP2

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

An astronomy image as a JPEG 2000 file.The picture keeps its width and height and is saved as JP2 at quality 80.

  1. What you get

    One JP2 file with the same width and height as the FITS image. The compression is lossy, so the picture is not identical to the source. Some detail is lost.

    FITS is the image and table format of astronomy. JPEG 2000 is a wavelet image codec used in archives, cinema and medical imaging.

  2. Setting the quality

    Quality runs from 1 to 100 and starts at 80. A higher value keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.

    Set Quality lower when you want less detail kept. Set it higher when you want more kept, keeping in mind the growth in file size above 90.

  3. Going back

    Converting from JP2 to FITS is a separate conversion, JP2 to FITS. Because this conversion is lossy, the detail that was dropped does not come back.

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

  1. 01 · 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 80

The formats

From · FITS

FITS

FITS, the image and table format of astronomy.

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

JPEG 2000

JPEG 2000, a wavelet image codec used in archives, cinema and medical imaging.

Extensions
.jp2 .j2k
MIME type
image/jp2
Kind
Images

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

terminal
$ cv convert photo.fits photo.jp2
$ cv convert photo.fits photo.jp2

Questions.What people ask about FITS to JP2.

01OF 04

Yes. The width and height stay the same. The file itself can differ in size, and a higher Quality makes a bigger file.

Yes. It is lossy at quality 80 unless you change Quality. Some detail is lost, so the JP2 is not identical to the FITS image.

Raise Quality. Values above 90 make the file grow quickly while the picture barely changes.

One file for each conversion.

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