Hi, I’m using the latest Siril release and having an issue. I took a set of about 880 images previously calibrated with flats and darks but not debayered, captured across multiple days and created a new FITS images sequence, including debayering. These have the prefix pp_. Then I registered them, giving the new sequence a prefix r_. When I tried to stack, I got this error message:
12:36:20: Reading FITS: file r_pp_light_00851.fit.fz, 3 layer(s), 6016x4016 pixels, 32 bits
12:36:20: Sequence loaded: r_pp_light_ (1->881)
12:36:38: Running command: stack
12:36:38: Stacking sequence r_pp_light_
12:36:38: Processing all images in the sequence (878)
12:36:38: Stacking result will be stored as a 32-bit image
12:36:38: Computing normalization...
12:36:38: With the current memory and thread (8) limits, up to 4 thread(s) can be used for sequence normalization
12:36:38: Normalization computation time: 31.42 ms
12:36:45: Stacking error: input images have different precision
12:36:45: Opening image 544 failed
12:36:46: Stacking failed.
12:36:46: Stacking failed, please check the log to fix your issue.
12:36:46: Execution time: 7.59 s
Indeed, some of the original images I found were 16 bit and some were 32 bit (I’m not quite sure why but since they were processed on separate days I suppose the settings changed somehow), which is probably the reason for the error, and the bit format (either 16 or 32) was maintained in the debayered and registered files, e.g.,
...
09:35:28: Saving FITS: file r_pp_light_00472.fit.fz, 3 layer(s), 6016x4016 pixels, 32 bits
09:35:29: Found 636 stars in image 397, channel #1
09:35:29: Matching stars in image 397: done
09:35:29: Initial pair matches: 134
09:35:29: Pair matches after fitting: 129
09:35:29: Inliers: 0.963
09:35:29: scaleX: 1.005
09:35:29: scaleY: 1.006
09:35:29: scale: 1.006
09:35:29: rotation: -178.375 deg
09:35:29: dx: -6304.75 px
09:35:29: dy: -4228.93 px
09:35:29: FWHM: 10.67 px
09:35:29: roundness: 0.79
09:35:30: Saving FITS: file r_pp_light_00549.fit.fz, 3 layer(s), 6016x4016 pixels, 16 bits
09:35:30: Reading FITS: file pp_light_00473.fit.fz, 3 layer(s), 6016x4016 pixels, 32 bits
09:35:30: Findstar: processing for channel 1...
...
Is there a way for me to convert the 16-bit files to 32 bit in batch?
Thanks,
Andrew