MantisBT - ParaView
View Issue Details
0012606ParaView(No Category)public2011-09-19 22:442016-08-12 09:58
ohyeahq 
Kitware Robot 
highminorhave not tried
closedmoved 
3.10.1 
 
TBD
usability
0012606: Snapshot resolution can't be set via script
There is no way to set or change the snapshot resolution/quality in python scripts. WriteImage() has no such options. There is no documentation on
it either.

'Recording script' gives nothing during 'save snapshot' dialog manipulation.

No tags attached.
Issue History
2011-09-19 22:44ohyeahqNew Issue
2011-09-26 21:40ohyeahqNote Added: 0027526
2016-07-29 10:43Cory QuammenNote Added: 0036644
2016-08-12 09:58Kitware RobotNote Added: 0038073
2016-08-12 09:58Kitware RobotStatusbacklog => closed
2016-08-12 09:58Kitware RobotResolutionopen => moved
2016-08-12 09:58Kitware RobotAssigned To => Kitware Robot

Notes
(0027526)
ohyeahq   
2011-09-26 21:40   
Workaround:

size = view.ViewSize # [685, 519]
view.ViewSize = [1200, int(1200.0 * size[1] / size[0])]
Render()
WriteImage(fnimage)
(0036644)
Cory Quammen   
2016-07-29 10:43   
It is possible to save screen shots with

SaveScreenshot(tmp.png', layout=layout1, magnification=1, quality=100)

One can change the magnification, but it is not possible to my knowledge to change specify the screen shot size. Quality can be changed, however.
(0038073)
Kitware Robot   
2016-08-12 09:58   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page.