Sebastian Mogilowskis Blog

Just another blog about administration, linux and other stuff

Language: German English

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.

, , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

*


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

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