From 19a1b8efe1388b191d1472a6c6470a102ccf6e7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sat, 13 Jan 2018 11:00:44 +0000 Subject: [PATCH] Add script to resize images (#153) --- tools/resize-images | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 tools/resize-images diff --git a/tools/resize-images b/tools/resize-images new file mode 100755 index 00000000..f4b98879 --- /dev/null +++ b/tools/resize-images @@ -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 +