[wplug] uniform web icons?

Logan asciiaardvark at gmail.com
Mon Sep 24 08:00:03 EDT 2007


I'd recommend ImageMagick,

something like:
for(glob "*.jpeg", "*.jpg", "*.png"){
	$png = s/.jpe?g$/.png/;
	convert "$_", "60x60", "$png";
}
to use their perl module
... I'm pretty sure it can do transparent backgrounds... or at least  
tell you if one exists
but you'll have to dig thru the syntax to find that one

> I want to make a set of uniform icons for a homepage, the original
> images are different sizes/resolutions. I want to have something like
> the set of OS icons at the top of this page: http://uhacc.org/
>
> Anyone know a unixy/linuxy way to do this? Say for example I want all
> the icons to be of size 60x60 pixels PNG images. And I want to have a
> transparent background layer on the image if one doesn't already
> exist. An automated way to do this would be ideal since I may end up
> doing this for more than just a few images.



More information about the wplug mailing list