gxyat

Arlindo da Silva dasilva at ALUM.MIT.EDU
Sat Nov 21 19:42:10 EST 2009


On Sat, Nov 21, 2009 at 4:32 PM, Fil <fil at meteopt.com> wrote:

> Hi,
>
> 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't it possible to set gxyat to produce 8 bit png files like printim?
>
>
Yes, you can. Type "gxyat" without arguments and read the documentation, in
particular example 7):

     7) Producing a PNG image file with the default 800x600 size, but
        piping the output through another program to reduce the file size:
        ga-> gxyat -o '|pngquant 256 > test.png'
        Notice that in this case the .png in the end is still used for
        determining the format of the output file.

The utility pngquant is included in the opengrads bundle. Notice that this
technique could also be used with other applications such as ImageMagick.

  Arlindo


--
Arlindo da Silva
dasilva at alum.mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20091121/2d2c9764/attachment.html 


More information about the gradsusr mailing list