identify cannot recognize image on 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
odelya
Posts: 3
Joined: 2012-07-24T01:18:11-07:00
Authentication code: 15

identify cannot recognize image on https

Post by odelya »

Hi!

I am trying to run the following command (image on https:)

identify https://img.alicanto.com/d/2560-2/produ ... st_v02.jpg
and get;

identify: unable to open image `https://img.alicanto.com/d/2560-2/products/salon
/CampaignSpaPost_v02.jpg': Invalid argument.

When I run it on http:
identify http://img.alicanto.com/d/2560-2/produc ... st_v02.jpg
I get:
http://img.alicanto.com/d/2560-2/produc ... g=>C:/User
s/Jason/AppData/Local/Temp/magick-ceidvD4i HTTP 510x364 510x364+0+0 DirectClass
8-bit 28.5879kb

Why can't the identify, recognize images on https?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: identify cannot recognize image on https

Post by fmw42 »

My best guess is that the https server is restricting access. Try on some other http server image and see if that works. It may be the server or the https as the issue, I am not sure and am only guessing here.
odelya
Posts: 3
Joined: 2012-07-24T01:18:11-07:00
Authentication code: 15

Re: identify cannot recognize image on https

Post by odelya »

No it doesn't

Copy the image URL and you will be able to reach it yourself.

Thanks
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: identify cannot recognize image on https

Post by fmw42 »

I have no problem with either:

identify http://img.alicanto.com/d/2560-2/produc ... st_v02.jpg
identify https://img.alicanto.com/d/2560-2/produ ... st_v02.jpg

The both give me results from identify.

I am on IM 6.7.8.6 Q16 Mac OSX Snow Leopard. What version of IM are you using?

There were some bugs prior to 6.3.9-1.

There may also be a delegate library required for doing this, but I cannot recall which one (possibly xml).

I have the following installed:

DELEGATES bzlib fftw fontconfig freetype gs jpeg jng jp2 lcms2 lqr openexr pango png rsvg tiff x11 xml zlib
Last edited by fmw42 on 2012-07-24T22:49:53-07:00, edited 1 time in total.
odelya
Posts: 3
Joined: 2012-07-24T01:18:11-07:00
Authentication code: 15

Re: identify cannot recognize image on https

Post by odelya »

Version: ImageMagick 6.3.9 on windows and
Version: ImageMagick 6.6.2-6 2012-04-30 Q16 on linux

Do you think that I need to update?
Post Reply