[Paraview] rendering image larger than window size

2013-03-06 Thread Li Guan
Hi all, My monitor res is 1280x960. Once I lock the paraview window to 2000x1000, and in python shell call WriteImage("test.png"); the saved image is only the size that is displayed on the window. Is it possible to save the whole image? I know the option of clicking Save Screenshots on the control

Re: [Paraview] rendering image larger than window size

2013-03-06 Thread Utkarsh Ayachit
Lock your ParaView window to 1000x500 and then use WriteImage("foo.png", Magnification=2). On Wed, Mar 6, 2013 at 11:17 AM, Li Guan wrote: > Hi all, > > My monitor res is 1280x960. > Once I lock the paraview window to 2000x1000, and in python shell call > WriteImage("test.png"); the saved image i

Re: [Paraview] rendering image larger than window size

2013-03-06 Thread Li Guan
Thank you Utkarsh! An additional question, if I need to grab the "high-res" Z-buffer, it is possible? Li On Wed, Mar 6, 2013 at 1:56 PM, Utkarsh Ayachit wrote: > Lock your ParaView window to 1000x500 and then use > WriteImage("foo.png", Magnification=2). > > On Wed, Mar 6, 2013 at 11:17 AM, Li

Re: [Paraview] rendering image larger than window size

2013-03-06 Thread Utkarsh Ayachit
Not easily, but you can play with getting the vtkRenderWindow from the view (view.GetRenderWindow()) and then creating a vtkWindowToImageFIlter yourself and using it. Utkarsh On Wed, Mar 6, 2013 at 3:02 PM, Li Guan wrote: > Thank you Utkarsh! > An additional question, if I need to grab the "high