[Paraview] Transparent background in python scripts
Armin Wehrfritz
dkxls23 at gmail.com
Tue Jun 28 00:24:58 EDT 2016
Thanks, I would really appreciate this feature.
I'm looking forward to 5.2 then. :)
-Armin
On Wed Jun 22 23:42:11 2016 GMT+0300, Utkarsh Ayachit wrote:
> Currently, it's not exposed to Python. It's on the TODO list to get
> that fixed for 5.2.
>
> On Mon, Jun 20, 2016 at 12:03 PM, Armin Wehrfritz <dkxls23 at gmail.com> wrote:
> > 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
>
More information about the ParaView
mailing list