LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   image resize (https://www.linuxquestions.org/questions/linux-software-2/image-resize-266972/)

oldstinkyfish 12-16-2004 05:25 AM

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!:)

oldstinkyfish 12-16-2004 05:35 AM

it seems imageresize will do this and its gpl compatibel. Ifs funny what a simple search on google can do ;)

bathory 12-16-2004 05:55 AM

You can use "convert" from ImageMagick for a batch resize.
Code:

man convert

oldstinkyfish 12-16-2004 05:57 AM

[QUOTE]Originally posted by bathory
You can use "convert" from ImageMagick for a batch resize.
Code:

man convert
[/QUOTE

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.

NeptunEz 12-16-2004 06:00 AM

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.