Pink Sandbox

Recent Posts

Archives

Categories

Popular Tags

November 23, 2008 @ 4:39 am

Batch Resizing Pictures

Well, I had to perform a bunch of resizing for my digital images a few minutes ago. Then I remembered seeing “ImageMagick” when installing Inkscape on Jasper days ago. I’ve used ImageMagick for my first ever development project with my first employer. It was a business card generator, which, fortunately and unfortunately and unsurprisingly didn’t went live. But anyway, I vaguely recall that you could do command line image manipulation with it. So I searched and, yes, there is a command to easily batch resize pictures. So on Terminal (Applications > Accessories > Terminal) do a:

  • sudo apt-get install imagemagick
  • cd Pictures/ (cd to folder of your images)
  • sudo mogrify -resize 800×600 *.jpg

And that’s it! Well at least I don’t need to go Windows XP just to batch resize pictures. Microsoft PowerToys’ Image Resizer is convenient for batch resizing on a Windows and ImageMagick’s mogrify -resize command is equally convenient for batch resizing on Linux (and on any other OS, I guess). :)

Filed under Geekology · No Comments »

Stalk Me!

Actually, it's friends only. But hey, why don't you ask? I might be tolerant of new stalkers. ;)\

>> About Me

My thoughts from their words

"We must be willing to get rid of the life we've planned, so as to have the life that is waiting for us." - Joseph Campbell.

"... baka kaya tayo iniiwan ng taong mahal natin, kasi baka may bagong darating na mas ok, na mas mamahalin tayo, yung taong di tayo sasaktan at paasahin, yung nag-iisang taong magtatama ng mali sa buhay natin, ng lahat ng mali sa buhay natin..." - Popoy, One More Chance

Recent Comments

Links

Adsense to Goodness