How to resize images quickly from command line

As requested by sdog, this is how I modify all my pictures in a row using the command line :

I use the mogrify command that comes with ImageMagick.

First I copy all my original pics on a new folder and then I type the following command line :

$ mogrify -resize 1024x768 *

This keeps image ratio ! ;)

Of course you can define any size you want.

As requested by sdog, this is how I modify all my pictures in a row using the command line :

I use the mogrify command that comes with ImageMagick.

First I copy all my original pics on a new folder and then I type the following command line :

$ mogrify -resize 1024x768 *

This keeps image ratio ! 😉

Of course you can define any size you want.

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

As MySQL Community Manager, I am an employee of Oracle and the views expressed on this blog are my own and do not necessarily reflect the views of Oracle.

You can find articles I wrote on Oracle’s blog.