script to resize images using imagemagick
This commit is contained in:
parent
2b385a945d
commit
cbd0d01ce5
7
resize-images/resize-image.sh
Normal file
7
resize-images/resize-image.sh
Normal file
@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
# ----------------------------------------------------------------------------
|
||||
# sudo apt-get install imagemagick
|
||||
# check size of current image
|
||||
# identify -format "%wx%h" imagefile
|
||||
# convert Cuba-Libre-bereich.jpg -r cuba.jpg
|
||||
for file in *.jpg; do convert $file -resize 50% $file; done
|
Loading…
x
Reference in New Issue
Block a user