Skip to content

Instantly share code, notes, and snippets.

@mazuhl
Last active February 9, 2016 22:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mazuhl/d6dfba0c386c585647e8 to your computer and use it in GitHub Desktop.
Save mazuhl/d6dfba0c386c585647e8 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