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

Mikolaj Machowski mikmach at wp.pl
Mon Sep 10 15:10:39 PDT 2007


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

m.



More information about the Magick-users mailing list