image resize
How would I resize a bunch of images from the command line? I really don't want to do this one by one in the gimp. Basically I have a folder full of 64x64 icons, and I want to convert them into 32x32, then 16x16 etc.
PS: Thanks alot, to all the contributing members of Linux Questions, you have saved me lots of time and have made my life a whole lot easier. PSS: To all newbee's: give the command line a chance, you'll learn to love it!:) |
it seems imageresize will do this and its gpl compatibel. Ifs funny what a simple search on google can do ;)
|
You can use "convert" from ImageMagick for a batch resize.
Code:
man convert |
[QUOTE]Originally posted by bathory
You can use "convert" from ImageMagick for a batch resize. Code:
man convert Yes im using it right now. Its funny, if I used a gui it would have took me an hour, with the command line a half a second, literally! Its a big change from the accustomed MS way of life. |
mogrify -size 32x32 -resize 32x32 *.png
man mogrify (mogrify is a part of ImageMagick) |
All times are GMT -5. The time now is 11:24 AM. |