[Paraview] PNG compression when making screenshot

2012-09-04 Thread Joe Borġ
I'm trying to reduce the size of the screenshots made in batch. Using trace, I found view = GetRenderView() view.CompressorConfig = 'vtkZlibImageCompressor 0 9 4 0' WriteImage('test.png') ...but they're the same size with and without the compression. The dimension is 1700x900 and I'm getting

Re: [Paraview] PNG compression when making screenshot

2012-09-04 Thread Burlen Loring
Hi Joseph, Those settings you mention affect the image during transfer from the server to the client. They are used to fine tune remote rendering performance. Unfortunately the vtkPNGWriter does not expose any options for tuning compression. Burlen On 09/04/2012 06:16 AM, Joe Borġ wrote:

Re: [Paraview] PNG compression when making screenshot

2012-09-04 Thread Joe Borġ
Would this be an easy feature to add? Running PNG optimisation per image will take a very long time. Regards, Joseph David Borġ http://www.jdborg.com On 4 September 2012 16:09, Burlen Loring blor...@lbl.gov wrote: ** Hi Joseph, Those settings you mention affect the image during transfer

Re: [Paraview] PNG compression when making screenshot

2012-09-04 Thread Burlen Loring
You should probably investigate first and make sure that it's the compression settings that are the issue. It looks to me like vtk png writer uses the default compression settings which should be decent. I'm wondering if there are some other differences between pv and ensight that could