Hello everyone!
I'm struggling with python API to open a FITS image.
When I open a FITS picture with the menu "file->open" I have a prompt regarding picture composition : "none" or "NAXIS=3, NAXIS3=2,...,4". And when I select "NAXIS..." the image is correctly loaded into GIMP in RGB.
But when I use python pdb.file_fits_load() command, I have no options in order to specify none or NAXIS. thus my image is always in gray scale.
Also, with python command, I do not have multiple images as I have when I select "none" on the HMI (=> 3 images, one per color).
What should I do to have the image in RGB loaded by python command?
Thank you for your help!
Best regards,
Damien.
I'm struggling with python API to open a FITS image.
When I open a FITS picture with the menu "file->open" I have a prompt regarding picture composition : "none" or "NAXIS=3, NAXIS3=2,...,4". And when I select "NAXIS..." the image is correctly loaded into GIMP in RGB.
But when I use python pdb.file_fits_load() command, I have no options in order to specify none or NAXIS. thus my image is always in gray scale.
Also, with python command, I do not have multiple images as I have when I select "none" on the HMI (=> 3 images, one per color).
What should I do to have the image in RGB loaded by python command?
Thank you for your help!
Best regards,
Damien.