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.columns0.19, img.rows0.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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs