<br><br><div class="gmail_quote">On Sat, Nov 21, 2009 at 4:32 PM, Fil <span dir="ltr">&lt;<a href="mailto:fil@meteopt.com">fil@meteopt.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>I have a problem with the gxyat tool, it produces very large 32 bit png files, some files are like 4x as large as printim files which are 8 bit. Isn&#39;t it possible to set gxyat to produce 8 bit png files like printim?<br>

<br></blockquote><div><br>Yes, you can. Type &quot;gxyat&quot; without arguments and read the documentation, in particular example 7):<br><br>     7) Producing a PNG image file with the default 800x600 size, but <br>        piping the output through another program to reduce the file size:<br>
        ga-&gt; gxyat -o &#39;|pngquant 256 &gt; test.png&#39; <br>        Notice that in this case the .png in the end is still used for <br>        determining the format of the output file.<br><br>The utility pngquant is included in the opengrads bundle. Notice that this technique could also be used with other applications such as ImageMagick.<br>
<br>  Arlindo<br></div></div><br clear="all"><br>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a><br>