I am running my python script in the console iPython shell lauched in anatomist in order to get a snapshot of my window :
Code: Select all
a.execute( 'WindowConfig', windows=[winR],cursor_visibility=0)
a.execute( 'WindowConfig', windows=[winR], snapshot='Rtopfilenamesnap.png')
and this is already great.
However, I would rather prefer to get the *-rgba.png as you get it when
selecting the 'RGBA buffer' in the 'window saving mode' through the GUI Scene --> Tools --> Window saving modes.
But ideally I would like to set this parameter in my python script, is it possible ?