Convert FITS to JBIG

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

A black and white JBIG1 picture.The image keeps its size and is compressed without loss.

  1. What you get

    One JBIG file holding a JBIG1 bi-level picture. It has the same width and height as the FITS image. JBIG1 is the lossless black and white compression used by fax machines and document scanners.

    The compression loses nothing, but the picture is only black and white. That is a change from the FITS image, not from the compression.

  2. What changes

    JBIG1 stores two tones only, so colors and grays are dithered into black and white dots. Transparent areas become white.

    If you need the file back in astronomy tools, JBIG to FITS converts in the other direction. The black and white picture is what comes back, not the original tones.

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

JBIG

JBIG1 bi-level images, the lossless black and white compression of fax machines and document scanners.

Extensions
.jbg .jbig .bie
MIME type
image/x-jbig
Kind
Images

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

terminal
$ cv convert photo.fits photo.jbg
$ cv convert photo.fits photo.jbg

Questions.What people ask about FITS to JBIG.

01OF 04

Yes. The width and height stay the same.

The compression itself is lossless. The change to black and white is not: colors and grays are dithered, so the tones of the original are not kept.

They become white.

No. This conversion has no options.

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