problem getting image from https://

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
SamK

problem getting image from https://

Post by SamK »

I am running IM through a Windows .bat file and everything works fine except when trying to get a source image which has a https:// URL.

Error message that comes up is "unable to open image 'https://**********.jpg': invalid argument"

TIA
Sam.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: problem getting image from https://

Post by magick »

ImageMagick does not support the https protocol. It does support http and ftp.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: problem getting image from https://

Post by anthony »

A delegate should be present however to have IM use wget, or curl to download HTTPS images. Of course you can do that yourself too.

Code: Select all

   wget -O -  https://....../image.jpg | convert - image.png
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply