[wplug] OT: creating uniform size icons?

Vance Kochenderfer vkochend at nyx.net
Thu Jun 22 16:09:55 EDT 2006


Zach <netrek at gmail.com> wrote:
> On 6/22/06, James O'Kane <jo2y at midnightlinux.com> wrote:
> > >
> > Did the aspect ratio of the non-scaled images match what you were trying
> > to scale them to? If you look at the fedora image on your example site. It
> 
> Ah that's the problem. Is there any tool I can use to solve this? A
> tool to automatically preserve the correct aspect ratio and shrink
> image by some factor? I realize this will result in my icon set being

'convert -geometry 32x32 input.png output.png' will scale the image
so that its longest dimension is 32 pixels while preserving its
aspect ratio.  There are other symbols you can use with the
-geometry option to make it only scale down larger images, and won't
scale up smaller ones, or to force it to alter the aspect ratio.

For straight scaling, you can use 'convert -geometry 25% input.png
output.png'.

Vance Kochenderfer        |  "Get me out of these ropes and into a
vkochend at nyx.net          |   good belt of Scotch"    -Nick Danger


More information about the wplug mailing list