Resize images (folder) with imagemagick (mogrify)

Before upload pictures to my online gallery i want to resize them to a smaller size. I don’t want to open all with a tool or something. I want to run a small script on my netbook without GUI.

First install imagemagick:

aptitude install imagemagick

Now “cd” into the directory with your images and execute:

mogrify -resize 800x600 *.JPG

All of the images will be replaced with resized version of themselves.

Now i can upload the directory to my gallery.

Schreibe einen Kommentar

eMail-Benachrichtigung bei weiteren Kommentaren.
Auch möglich: Abo ohne Kommentar.

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.