[magick-users] Suggestion: PerlMagick's Read method to accept an SVG string

Ron Savage ron at savage.net.au
Mon Nov 26 19:23:59 PST 2007


Hi Folks

I will soon be generating a lot of SVG images as text strings, and I'd
like to feed these in to ImageMagick, in Perl, like this:

my($s) = '<?xml...> <svg ...> <g ...> <path ... /> </g> </svg>';
my($i) = Image::Magick -> new();
my($r) = $i -> Read("svg:$s");
die $r if $r;

I could not get that to work, and I can't see it documented in Anthony's
Usage pages under the section on gradient: and plasma: etc.

Any chance of implementing that one day }:-)?
-- 
Ron Savage
ron at savage.net.au
http://savage.net.au/index.html




More information about the Magick-users mailing list