Stroking an SVG file
Posted: 2009-08-14T04:04:18-07:00
Hi All,
I am new to the Imagemagick api.. and so forgive me if this is a silly question...
I am writing an effect which would apply stroke for fonts...
So I read a png image using Image Magick and would like to convert this to a vector format (SVG) which is supported in image magick
as i have built magick with the autotrace library..
code...
Magick::Image im1;
im1.read("D:/Test/abc.png");
im1.write("D:/Test/abc.svg");
..................
My questions are as follows..
1)Can I get the path of this SVG data in memory without actually saving an SVG file in the hard disk
2)How do I apply stroke to this svg file using the C++ api
Thanks in advance
Praveen
I am new to the Imagemagick api.. and so forgive me if this is a silly question...
I am writing an effect which would apply stroke for fonts...
So I read a png image using Image Magick and would like to convert this to a vector format (SVG) which is supported in image magick
as i have built magick with the autotrace library..
code...
Magick::Image im1;
im1.read("D:/Test/abc.png");
im1.write("D:/Test/abc.svg");
..................
My questions are as follows..
1)Can I get the path of this SVG data in memory without actually saving an SVG file in the hard disk
2)How do I apply stroke to this svg file using the C++ api
Thanks in advance
Praveen