gnuastro-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #53362] Can't use max 8-bit value in Arithmetic


From: Mohammad Akhlaghi
Subject: [bug #53362] Can't use max 8-bit value in Arithmetic
Date: Wed, 6 Nov 2024 06:54:12 -0500 (EST)

Follow-up Comment #1, bug #53362 (group gnuastro):

Until this bug is fixed, you can use the following command to take the 8-bit
image (assumed it is called 'uint8.fits') to a larger integer width type, and
convert the NaN/blanks to 255. All the operations and programs will work as
expected on the output 'uint16.fits' file.


astarithmetic uint8.fits uint16 set-i i i isblank 255 where \
              --output=uint16.fits




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?53362>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]