Tim Hunter
12/19/2006 3:57:00 PM
Mihai Frisan wrote:
> Hello,
>
> I try to edit a .svg file with RMagick, but the result of just
> importing the file and then saving it as a .jpg is a black&white image
> (the shapes are still there but the colors are not).
> Here is the code
>
> require 'RMagick'
> include Magick
>
> canvas = Image.read('d:\test.svg').first
> canvas.write('d:\test.jpg')
>
> Any pointers will be greatly appreciated.
> If you know any other way (another image library maybe) I can edit a
> .svg file from ruby please let me know.
>
> Thanks,
> Mihai
>
>
Mihai,
I see your Support Request on RubyForge. Could you please attach the
problem SVG file to the request? If you scroll all the way to the bottom
of the page you'll see a checkbox that says "Check to Upload & Attach
File" and a place to select the file. Thanks!