.fit types supported

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: XnTriq, helmut, xnview

gabri
Posts: 3
Joined: Sun Jun 11, 2006 12:29 am

.fit types supported

Post by gabri »

Hello,
I am trying to convert a .fit file to jpg. The fit file was created using IEEE
64 bit floating point numbers.
The Fits file header is:

Headers for HDU 1
SIMPLE = T /

Java FITS: Mon Jun 12 00:24:44 CDT

2006
BITPIX = -64
NAXIS = 2 /

Dimensionality
NAXIS1 = 100
NAXIS2 = 100
EXTEND = T /

Extensions are permitted

For trying to convert this i get the following error:
Error: FITS: Bad Bits Per Pixel !

However, the same file stored where each pixel is stored as a short value
(instead of a double), which header is:

Headers for HDU 1
SIMPLE = T /

Java FITS: Sun Jun 11 23:10:15 CDT

2006
BITPIX = 16
NAXIS = 2 /

Dimensionality
NAXIS1 = 100
NAXIS2 = 100
EXTEND = T /

Extensions are permitted

works just fine with no errors.

I could not find a way to work around getting the 64 bit FP number version to work as well. Does nconvert support this type of fit file, and
would it be possible to convert it to a jpg/gif?

Thank you so much for any help,
Best,
Gabri
User avatar
xnview
Author of XnView
Posts: 44926
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: .fit types supported

Post by xnview »

gabri wrote:Hello,
I am trying to convert a .fit file to jpg. The fit file was created using IEEE
64 bit floating point numbers.
The Fits file header is:
Could you send me some samples, please?
Pierre.