I also compile the code using

g++ `Magick++-config --cxxflags --cppflags` -o magick++ magick++.cpp 
`Magick++-config --ldflags --libs`

I'm using a server, and I don't have administrator privilege.
So I wonder if this related to permission issue?
Also, I install the IM without-perl, and I don't know if I'm missing 
some lib.
How does IM to grab the image online using url?
What lib does it use to crawl the image?
Thanks


[email protected] wrote:
>> I tried very simple code to read an image from url but failed.
>>     
>
> Works for us.  We're using ImageMagick-6.5.3-3.  If we give it a bogus URL
> we get
>
>   -> magick++
>   terminate called after throwing an instance of 'Magick::ErrorCoder'
>     what():  ImageMagick: no data returned 
> `http://www.aimagemagick.org/discourse-server/styles/subsilver2/imageset/site_logo.png'
>  @ url.c/ReadURLImage/224
>   Abort
>
> We compiled the project with this command:
>
> g++ `Magick++-config --cxxflags --cppflags` -o magick++ magick++.cpp 
> `Magick++-config --ldflags --libs`
>
>   

_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to