Opening 32bits FITS file failed...

Hi,

First of all, I’m a SIRIL beginner. I’m using the latest version (1.2.6), and I have a problem opening 32-bit FITS files generated by SharpCap live stacking.

The 16-bit version opens fine in SIRIL, but the 32-bit version displays a completely black and empty screen!

What am I doing wrong?

For your information, the 32-bit FITS file opens correctly in GIMP.

Any advice?

Many thanks in advance.

Best regards,

Phil

If you want help, share your image.

Here’s the culprit…

Stack_32bits_1910frames_3637s.fits (23.7 MB)

The problem comes from the way sharpacp saved the file. It wrote -32 in the bitpix keyword when it should write 32 because it uses integers. If I change the value of the header keyword, I can open it.

What do you mean by: “If I change the value of the header keyword, I can open it”?
Do you mean something inside the code or inside the FITS image?

This is something you can’t edit easily if you don’t know what you are doing. Because this is a protected keyword.
But the fact is you should ask to sharcap to update the way it stores the data IMO. Or try to see if you can changes the settings.

Hi lock042,
As you mentioned, there is a setting in SharpCap: “Save 32-bit FITS files from Live Stacking as floating point.” By default, this option is checked for GIMP compatibility (BITPIX header of -32) and must be unchecked for those needing a BITPIX header of 32.
Regards,
Phil