Topic: How to render svg image with stylesheets using RMAgick

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