HTML automatically generated with rman
Table of Contents

Name

fits8to16 - convert 8bit fits image to a 16bit fits image

Synopsis

fits8to16 in=fits_file out=fits_file [parameter=value]

Description

fits8to16 reads a 8bit (BITPIX=8) FITS file, and convert them to a 16bit (BITPIX=16) image. This can be portably done, since 8bit images are unsigned, while 16bit are twos compliment.

Parameters

The following parameters are recognized in any order if the keyword is also given:
in=fits-infile
input file, in fits(5) format, and must be an 8bit primary array. Multiple HDUs are supported, they must all be 8bit.
out=fits-outfile
output file, in fits(5) format, now converted to 16bit.

See Also

scanfits(1NEMO) , fits(5NEMO) , fitshead(1NEMO)

Author

Peter Teuben

Files


~/src/image/fits    fits8to16.c

Update History


1-jul-04    V1.0 created    PJT


Table of Contents