Substitute for ImageMagick

Fortunately since I was using the command line I can backtrack. I was executing the following script.

#!/bin/bash

mogrify -resize 640 *.jpg
mogrify -resize 640 *.JPG

and it reported

> ./doit640.sh./doit640.sh: line 3: mogrify: command not found
./doit640.sh: line 4: mogrify: command not found

So I executed in another window logged in as root

# zypper install ImageMagicLoading repository data...
Reading installed packages...
'ImageMagic' not found in package names. Trying capabilities.
No provider of 'ImageMagic' found.
Resolving package dependencies...
Nothing to do.

Please note that I used zypper as I prefer it to YaST, and that I incorrectly wrote that I had used YaST. Now I searched on the Internet for “opensuse 15.4 install ImageMagic” and clicked on the first link, it being https://software.opensuse.org/package/ImageMagick. This page told me
"

There is no official package available for openSUSE Leap 15.4

which merely confirmed what I thought. So then I tried to install two of the Community packages, 7.1.0.37 and 7.1.0.53. Neither one succeeded as some repositories addresses did not exist. I am not going to go through with re-installing to report the missing repositories as it will add several others that I will then have to remove, but if it’s really important to you I will do it at a later time. I do remember that they had the characters SP in the addresses.