Skip to content

Instantly share code, notes, and snippets.

@jordan8037310
Forked from mazuhl/pageres-mogrify.sh
Created February 9, 2016 22:30
Show Gist options
  • Save jordan8037310/492ec0b0237cf53b3727 to your computer and use it in GitHub Desktop.
Save jordan8037310/492ec0b0237cf53b3727 to your computer and use it in GitHub Desktop.
Get screenshots and resize/crop them
pageres 1024x768 < urls.txt ; mogrify -resize 474 -crop 474x501+0+0 *.png
# Go get screenshots from list in clipboard
# Once that's done, resize all the images
# and crop them
# And then optimise them: /Applications/ImageOptim.app/Contents/MacOS/ImageOptim *.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment