SaveView TIFF (16 bit)
Posted: 23 Jun 2024, 20:18
How do I make the Astroart script function Image.SaveView save in 16-bit TIFF?
The code below opens 16-bit FIT files, but the script saves in 8 bit TIFF.
The code below opens 16-bit FIT files, but the script saves in 8 bit TIFF.
Code: Select all
fitsFiles = FindFiles(folder, "*.fit")
N = Count(fitsFiles)
for i = 1 to N
Image.Open(folder + fitsFiles{i})
Image.SaveView(folder + "out\" + fitsFiles{i} + ".tiff")
Image.Close
next i