[Paraview] PNG compression when making screenshot

Joe Borġ mail at jdborg.com
Tue Sep 4 12:37:50 EDT 2012


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 <bloring at lbl.gov> wrote:

> **
> 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/00e54377/attachment.htm>


More information about the ParaView mailing list