I’m trying to convert a file with the magick command-line tool but I’m confused about what the error means and how to fix it.
I used the following code syntax:
magick <input>.webp <output>.jpg
I get this error:
magick: delegate failed `'dwebp' -pam '%i' -o '%o'' @ error/delegate.c/InvokeDelegate/1911.
magick: unable to open file '/tmp/magick-PGSTH7P1-9rGkrCgVJrwRyuTCjBoRkrJ': No such file or directory @ error/constitute.c/ReadImage/780.
The file I’m converting is in my current directory, and I’m not using a filename for which is already being used in the directory. I’ve made sure my spellings are correct, and my file types are correct as well.
There were no errors during installation either:
Testsuite summary for ImageMagick 7.1.0-40
I’m running this on a Virtual Machine (Ubuntu 22.04)
2
Answers
I tested this again and found I needed:
Then you need to follow the remainder of the instructions to build from source:
The ffmpeg worked perfectly for me, assuming you have ffmpeg installed, which is the basis of a lot of video players and converter apps. If not:
on ubuntu and many/most others.
–Bob Harper
I scripted it to fix many webp’s at one time…
—shell-code———————————-
for file in *.webp; do
done
for file in *.WEBP; do
done
ADD more if needed…