Add script to resize images (#153)

This commit is contained in:
Cyryl Płotnicki 2018-01-13 11:00:44 +00:00 committed by GitHub
parent e6f660bc2e
commit 19a1b8efe1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

7
tools/resize-images Executable file
View file

@ -0,0 +1,7 @@
#!/bin/bash
for file in *.jpg; do convert $file -resize 1000x1000 -quality 95 $file > /dev/null 2>&1; done
for file in *.JPG; do convert $file -resize 1000x1000 -quality 95 $file > /dev/null 2>&1; done
for file in *.png; do convert $file -resize 1000x1000 -quality 95 $file > /dev/null 2>&1; done
exit 0