script to resize images using imagemagick

This commit is contained in:
dechert 2022-04-05 15:20:28 +02:00
parent 2b385a945d
commit cbd0d01ce5

View 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