I created a simple python script for Siril 1.4.0 that converts fit(s) files in the siril working directory to png files.
My aim was to batch convert fit files to png that I could use with ffmpeg to create animations of moving objects such as comets and asteroids.
I pushed the script to GitHub - gps1539/siril-scripts: python scripts for Siril
Feedback welcome
You know you can do animation natively in Siril?
Yes, Siril does a great job of savings fits to png, but I did not see how to create png files from a batch of fits.
My script simply runs the siril command savepng in a loop for all matching files in the working directory.
for x in os.listdir():
if x.endswith(“.fits”) or x.endswith(“.fit”):
print(str(x))
siril.cmd(“load”, x)
siril.cmd(“savepng”, x)
I just found the Export Sequence feature I expect you where referring to and it works great for creating animations.
Although my script is now pointless, at least I learned know how to write a basic python script for Siril.