Skip to content

Instantly share code, notes, and snippets.

@interactiveRob
Created December 2, 2021 21:10
Show Gist options
  • Save interactiveRob/be37d20fec3d6d87c94a86649e880921 to your computer and use it in GitHub Desktop.
Save interactiveRob/be37d20fec3d6d87c94a86649e880921 to your computer and use it in GitHub Desktop.
Command line terminal shave blank pixels off the edge of all images in directory
#requires imagemagick - https://imagemagick.org/script/command-line-processing.php
find *.jpg -exec convert {} -shave 1x1 {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment