Convert SVG to JPEG with Imagemagick, missing external raster graphics

Viewed 15497

I would like to convert a simple svg graphic to a jpeg one. Here is the svg source code:

<svg style="overflow: hidden; position: relative;" 
  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" 
  width="300" version="1.1" height="200">
     <image x="10" y="10" width="276" height="110" 
     xlink:href="http://images.google.com/intl/de_ALL/images/logos/images_logo_lg.gif"
     stroke-width="1"></image>
  <rect x="0" y="150" height="10" width="300" style="fill: #000000"/>
</svg>

If i do the conversion on my windows XP mashine with ImageMagick 6.7.8 all is working fine.

convert test.svg test.jpg

Conversion with windows

If i do the same conversion on my linux server (Debian 6.0 ImageMagick 6.6.0) get only the black line.

Conversion on linux server

I tried to upgrade to the latest Imagemagick version on my linux mashine but i get no newer version from the repository.

But i'm not sure if the use of external images is a feature from the newer version, or if it is a configuration issue.

Thanks for any suggestions!

4 Answers
Related