Skip to content

Instantly share code, notes, and snippets.

@Ashwinning
Created December 2, 2018 09:25
Show Gist options
  • Save Ashwinning/997f46fb69e82b9ece6a16f29cfe3296 to your computer and use it in GitHub Desktop.
Save Ashwinning/997f46fb69e82b9ece6a16f29cfe3296 to your computer and use it in GitHub Desktop.
How to resize all images in a folder as a percentage using imagemagick

With image magick installed:

  • Create a new folder for the output images
  • cd to your path where the original images are stored
  • Run
mogrify -path <PATH TO OUTPUT FOLDER> -format png -resize 25%x25% *.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment