<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Joseph,<br>
<br>
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.<br>
<br>
Burlen<br>
<br>
On 09/04/2012 06:16 AM, Joe Borġ wrote:
<blockquote
cite="mid:CAFFYk1VZRa-=MuFRYKCC5PMDdWEuhMPJBPYmuexYbJP+1k5yOg@mail.gmail.com"
type="cite">I'm trying to reduce the size of the screenshots made
in batch. Using trace, I found<br>
<br>
<span style="font-family: courier new,monospace;">view =
GetRenderView()<br>
view.CompressorConfig = 'vtkZlibImageCompressor 0 9 4 0'<br>
WriteImage('test.png')<br>
</span><br>
...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.<br>
<br>
I'm not sure if it's the command or the compression lib that are
wrong.<br>
<br clear="all">
<br>
Regards,<br>
Joseph David Borġ <br>
<a moz-do-not-send="true" href="http://www.jdborg.com"
target="_blank">http://www.jdborg.com</a><br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the ParaView Wiki at: <a class="moz-txt-link-freetext" href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a>
</pre>
</blockquote>
<br>
</body>
</html>