[Paraview] PNG compression when making screenshot

Burlen Loring bloring at lbl.gov
Tue Sep 4 11:09:48 EDT 2012


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:
> 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 1.4MB per image.  When I make a 
> similar image in Ensight, I can use the max compression setting to get 
> the image down to 400KB.
>
> I'm not sure if it's the command or the compression lib that are wrong.
>
>
> Regards,
> Joseph David Borġ
> http://www.jdborg.com
>
>
> _______________________________________________
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120904/1f6743b8/attachment.htm>


More information about the ParaView mailing list