Hi!
How can I save screenshots with a transparent (alpha channel based)
background from a python script?
Currently, I'm using this command to save screenshots:
SaveScreenshot('image.png', magnification=3, view=renderView)
But this does not write the alpha channel information.
Using "File/ Save Screenshot" in the Paraview GUI, the screenshots
have the alpha channel information saved correctly when I setting "Edit/
Settings/ General/ Transparent Background".
I'm using ParaView 5.0.1 on a 64bit Linux workstation with the latest
Nvidia driver (367.27).
-Armin
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Search the list archives at: http://markmail.org/search/?q=ParaView
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview