[BioC] EBImage problem - requested image not found or could not be loaded

Paolo Sonego paolo.sonego at gmail.com
Mon Apr 27 15:56:55 CEST 2009

Dear Gregoire,

Thanks so much! Thanks to your suggestions my admin managed to solve the 
It seems, if I understand correctly, that under gentoo the default 
installation of ImageMagick doesn't include libXML support.
Emerging(gentoo-lingo to mean install,  i guess) the ImageMagick package 
with  libXML support  did the trick!

Thanks again!


Gregoire Pau ha scritto:
> Hi Paolo,
> Your example is about loading the GIF image located at:
> http://soap.genome.jp/tmp/mark_pathway_www3_api5320/eco00260.gif
> It works fine on my system (using the same R and EBImage). The 
> function readImage of EBImage relies on ImageMagick to load images. 
> ImageMagick relies on libxml2 to get URL streams.
> Did you have an Internet access when running your example ? If yes, 
> could you check if you can first download the GIF image (using 
> download.file() in R) and then read it with readImage ? If not, it 
> looks like that your ImageMagick library doesn't support URL streams 
> (it's really unlikely but...). Does the following example work on your 
> terminal 'display 
> http://soap.genome.jp/tmp/mark_pathway_www3_api5320/eco00260.gif ' ?
> Did you build ImageMagick yourself ? Do you have libxml2 installed
> (type in a terminal 'xml2-config --version') ? Is the XML capability 
> OK at the end of the configure step ?
> On most Linux distributions (Ubuntu, Debian, Fedora, CentOS), you 
> don't have to care about these things because ImageMagick comes with 
> all its external features (libXML, libTIFF, SVG, gs...) enabled. But I 
> don't know for Gentoo. I would suggest you to try to check the 
> presence of libxml2 and try to reinstall ImageMagick and to check the 
> configure options.
> Best regards,
> Greg

More information about the Bioconductor mailing list