Can ASE write png images with cross mark on the fixed atoms just as shown in the ase gui?

Dear Ask:
    Is it possible to write images with cross marks on the fixed atoms? I tried to output the images from ase gui but it did not work. I read the code of the ase/gui and noticed the drawing methods of cross and label belong to the ase.gui.View class, does it mean I can’t write the image files with crosses or labels with ase.io.write method?
Regards,
Youmu

Dear Youmu,

The GUI viewer and the renderer for ase.io.write are unfortunately not based on the same code, which means when a feature is added to one, it isn’t automatically in the other.

Someone would have to add this to the IO renderer in order for it to work (preferably refactoring both GUI and writer so they can use the same overall code).

(In order to encourage other people to reply as well, please refrain from addressing posts directly to me)

Best regards
Ask