[magick-users] Re: Best way to do png shrink

Anthony Thyssen anthony at griffith.edu.au
Tue Sep 11 01:28:34 PDT 2007


Mikolaj Machowski on  wrote...
| David Favor scripsit:
| > I've been using the following. If anyone has other
| > suggestions for smaller files, pass them along.
| >
| > Thanks.
| >
| > _______
| >
| > #!/bin/bash
| >
| > for file in $* ; do
| >     convert -quality 90 +dither -colors 64 -depth 8 $file $file
| > done
| >
| 
| 1. you can use mogrify, no need for loop
| 2. -strip
| 3. best compressing of PNGs is with png-crush, not IM
| 
optipng is the more modern, better and faster version of pngcrush.


  Anthony Thyssen ( System Programmer )    <A.Thyssen at griffith.edu.au>
 -----------------------------------------------------------------------------
          REALITY.SYS Corrupted - Unable to recover Universe
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/


More information about the Magick-users mailing list