Skip to content

Instantly share code, notes, and snippets.

@max-mapper
Created February 9, 2015 20:52
Show Gist options
  • Save max-mapper/59f41bb6f867f3131ad9 to your computer and use it in GitHub Desktop.
Save max-mapper/59f41bb6f867f3131ad9 to your computer and use it in GitHub Desktop.
resize 640 square photos for widescreen
for f in *.jpg; do
convert ./"$f" -gravity center -background black -extent 1137x640 ./"new-$f"
done
@max-mapper
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment