The only way I can think is to set the image size and the camera location correctly so you don't have excess space around your data.
Image size is set by: RenderView1 = GetRenderView() RenderView1.ViewSize = [1160, 760] And the camera location can be changed by: RenderView1.CameraPosition = [0.057, 0.0049999997718259692, 0.35] and the zoom (I think anyway, all the camera stuff is a little confusing for me): RenderView1.CameraParallelScale = 0.039 But, I generally find it much easier to just crop the image since tweaking these things isn't always easy for me to figure out. Tim ----- Original Message ----- From: "Nico Schlömer" <[email protected]> To: [email protected] Sent: Thursday, June 9, 2011 6:01:55 AM Subject: [Paraview] Cropped screenshots? Hey all, is there a way to autocrop a view or to generate cropped screenshots (via WriteImage()) natively in ParaView? So far I just write out the file and then crop it manually with another software which feels like correcting something that could be done properly straight away. Cheers, Nico _______________________________________________ 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 _______________________________________________ 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
