Hi, I have a lot of icons (png and xpm) format, which are too big (48x48). I would like to batch-convert them to png 32x32, while maintaining max possible quality. Can anyone suggest me a solution? Thanks in advance Andrei
First make sure you have ImageMagick installed. cd icon_directory for i in *xpm *png do convert $i -geometry 32x32 $i done Or (since icons often are given names like "icon_48x48.xpm" and less destructive ): cd icon_directory for i in *xpm *png do convert $i -geometry 32x32 $(echo $i | sed -e 's/48/32/g') done onsdagen den 22 maj 2002 15.32 skrev Andrei Verovski: :: Hi, :: :: :: I have a lot of icons (png and xpm) format, which are too big (48x48). I :: would like to batch-convert them to png 32x32, while maintaining max :: possible quality. Can anyone suggest me a solution? :: :: Thanks in advance :: :: Andrei -- Equal bytes for women.
participants (2)
-
Anders Dahlqvist
-
Andrei Verovski