delegate failed `'curl' -s -L -o '%u.dat' 'https:%M'' @ error/delegate.c/InvokeDelegate/1926
Author: barbeque-squaredCreated Aug 31, 2026Updated Aug 31, 2026
ImageMagick version
7.1.2-30
Operating system
Linux
Operating system, version and so on
Archlinux
Description
This looks extremely similar to #230. However, when running the printed curl command manually, it works fine, and also exits with code 0.
$ magick -verbose https://www.imagemagick.org/image/wizard.png wizard.png
'curl' -s -L -o '/tmp/magick-1FaQv0pkuVKLHB0pcQZo-9vXzbWUZvqU.dat' 'https://www.imagemagick.org/image/wizard.png'
magick: delegate failed `'curl' -s -L -o '%u.dat' 'https:%M'' @ error/delegate.c/InvokeDelegate/1926.It does actually download the image just fine in the /tmp folder.
I've tried adding -v in delegates.xml which makes it print a lot of info, but considering it downloads just fine and curl exits with 0, I'm not sure it's relevant. Can provide the output if it can't be reproduced though.
Steps to Reproduce
magick -verbose https://www.imagemagick.org/image/wizard.png wizard.png
Images
This is specifically in the https delegate. I've tried various hosts (imagemagick, derpicdn, my own VPS -- the latter as far as I know does not do any caching whatsoever) all with the same result.
Source: ImageMagick/ImageMagick