Convert big images into smaller versions using ImageMagick

https://imagemagick.org/image/wizard.jpg

#/usr/bin/env bash

for F in `ls *.jpg`
do
   echo "$F"
   magick convert $F -resize 25% out/"$(basename "$F" .jpg).png"
done

https://imagemagick.org/script/convert.php