[Paraview] Screenshot sizes on pvbatch

Magician f_magician at mac.com
Sat Sep 22 09:55:59 EDT 2012


Mirko and Gena,


Thanks for your reply.

I tried both advices.
I couldn't access vtkRenderLargeImage from pvbatch,
but the 'Magnification' option takes good results!

I always export large screenshots because of resizing
(for pseudo-antialiasing), so this technique is very nice for me.


Magician


On 2012/09/21, at 1:00, paraview-request at paraview.org wrote:

> Message: 3
> Date: Thu, 20 Sep 2012 09:56:05 +0200
> From: mirko heuegger <mheuegger at gmail.com>
> Subject: Re: [Paraview] Screenshot sizes on pvbatch
> To: Magician <f_magician at mac.com>
> Cc: paraview at paraview.org
> Message-ID:
> 	<CACR=3K7hVgUpVFx+DcPdPLocKMu+aSkP57QH6cQFTjgrFkV1pQ at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Hello!
> 
> On Wed, Sep 19, 2012 at 5:43 PM, Magician <f_magician at mac.com> wrote:
>> Hi all,
>> I'm trying to save screenshots with pvbatch (v3.14.1).
>> -cut-
>> Is there any ideas to export larger images than displays?
> 
> I'm not sure if pvBatch/python exposes the vtkRenderLargeImage class,
> but if so, it might be helpful.
> 
> some links about it:
> <http://www.vtk.org/doc/nightly/html/classvtkRenderLargeImage.html>
> and
> <http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/RenderLargeImage>
> 
> hth
> 
> mirko
> 
> -- 
> Real programmers don't document; if it was
> hard to write, it should be hard to understand.
> 
> 
> ------------------------------
> 
> Message: 4
> Date: Thu, 20 Sep 2012 12:58:19 +0400
> From: Gena Bug <archaerolog at mail.ru>
> Subject: Re: [Paraview] Screenshot sizes on pvbatch
> To: paraview at paraview.org
> Message-ID: <201209201258.19394.archaerolog at mail.ru>
> Content-Type: Text/Plain;  charset="utf-8"
> 
> Hi!
> 
> You can also try this:
> WriteImage('boo.png', Magnification = 2)
> 
> http://www.paraview.org/pipermail/paraview/2011-October/023106.html



More information about the ParaView mailing list