[Paraview] Increase image resolution when running pvbatch script

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Mon Oct 31 09:44:05 EDT 2011


True using the following:

WriteImage("/tmp/foo.png", Magnification=2)

You can specify any Magnification >= 1.

You can also change the default view size in Python using:
view = GetActiveView()
view.ViewSize = [ 800, 800 ]

Utkarsh

On Sun, Oct 30, 2011 at 5:57 PM, Luis Martinez <lamtmartos at hotmail.com> wrote:
> Hi all,
> I am trying to run a script to obtain images from different data sets. The
> resolution I am getting from the server is poor. I want to know how to
> obtain better resolution for my images.
> I read that increasing the "Number of Peels" should help with my issue but I
> cant seem to edit it from the Paraview GUI and dont know how to access it
> from the python shell.
> Attached are the script Im using, an image done by using pvbatch and an
> image done connected from the client, which has a better resolution.
> Thanks,
> Tony
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>


More information about the ParaView mailing list