Last active
September 1, 2020 15:12
-
-
Save emaia/9910d5f2b814705f1e52429cc06df584 to your computer and use it in GitHub Desktop.
This file contains 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
# slugify files | |
$ find . -type f -name "*.jpg" -exec slugify {} \; | |
# convert format | |
$ mogrify -format jpg *.png | |
# Resize images | |
$ mogrify -resize 1500x1500 ./* | |
# Create thumbnails | |
$ mogrify -path ./thumbs -resize 300x300^ -gravity Center -extent 300x300 ./* | |
# Optimize images | |
$ tinypng -r | |
# Batch convert EPS to SVG | |
$ find . -type f -name '*.eps' -exec inkscape --export-plain-svg {}.svg {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment