How to render svg image with stylesheets using RMAgick

D

dare ruby

Dear Friends,

I have rendered the svg image into jp/png format using RMagick like,

img = Magick::Image.read("bee3.svg").first
thumbnail = img.thumbnail(img.columns*0.19, img.rows*0.19)
thumbnail.write("logo1.gif")

The above code works well for rendering a SVG image without any
stylesheets into gif format, but when i write some style sheets for SVG
and if i tried render the SVG into gif, it causing rendering error.

Actually svg images are rendered but the stylesheet in not applied using
RMagick. How i should proceed to render stylesheet informations as well.

Thanks in advance

Regards,
Jose Martin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top