Resize images from the command line


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. # Resize all jpg images in current directory and save to a subdirectory named '120' (e.g. ./120/foo.jpg)
  2.  
  3. mogrify -resize 120 -path ./120 -monitor ./*.jpg

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.