Created
December 4, 2019 21:00
-
-
Save markwk/c1be8b773e76e10756730c23729a925e to your computer and use it in GitHub Desktop.
Bulk Trim Header and Footer from Screenshots with imagemagick
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Bulk Trim Header and Footer from Screenshots | |
# brew install imagemagick | |
for f in *.jpg; | |
do | |
convert "$f[1440x777+0+0]" "${f%.jpg}".jpg | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment