Ron Savage on  wrote...
| 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 }:-)?

You will need to read the image from a string which in IM parlance is
known as a 'blob'.   Look for ReadBlob() type functions.


  Anthony Thyssen ( System Programmer )    <[EMAIL PROTECTED]>
 -----------------------------------------------------------------------------
  Wiz thought about what it would be like to work with a computer that
  killed the programmer every time it crashed and shuddered.
                                             -- Rick Cook, "Wizard's Bane"
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to