Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Crop screen captures and make a gif
# Change +0+0 (+w+h) to select the upper left point of the rectangle to be cropped
for i in *png; do convert "$i" -crop 1920x1080+0+0 "cropped-$i"; done;
mkdir cropped && mv cropped*png cropped && cd cropped
convert -delay 10 *.png +repage animated.gif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.