Search found 6 matches

by dengshenyu
2013-06-04T02:41:14-07:00
Forum: Users
Topic: Question about IM reading SVG Images
Replies: 5
Views: 3451

Re: Question about IM reading SVG Images

My understanding is that SVG images don't inherently have a size. So you could either try a width and height of 100px instead of 100% or convert -geometry 300x300 sample.svg out.png If use 100px, I get this result: identify sample.svg sample.svg SVG 100x100 100x100+0+0 16-bit DirectClass 499b And ...
by dengshenyu
2013-06-04T02:12:03-07:00
Forum: Users
Topic: Question about IM reading SVG Images
Replies: 5
Views: 3451

Re: Question about IM reading SVG Images

100x100+0+0 seems correct to me. Have you tried changing the svg element's width, height, and viewBox attributes to different values to see what happens? Note, I can get a different result by setting -density. convert -density 144 sample.svg info: sample.svg SVG 200x200 200x200+0+0 16-bit sRGB 291B ...
by dengshenyu
2013-06-04T01:34:41-07:00
Forum: Users
Topic: Question about IM reading SVG Images
Replies: 5
Views: 3451

Question about IM reading SVG Images

Hi folks, I have a question about IM reading SVG Images and it really troubles me. For the SVG image below, <?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg xmlns="http://www.w3.org/2000/svg" version="1.1 ...
by dengshenyu
2013-06-02T08:28:21-07:00
Forum: Bugs
Topic: Bug for ImageMagick to import SVG image
Replies: 6
Views: 4783

Re: Bug for ImageMagick to import SVG image

The oldest IM I have is 6.5.8-8, which gives me the same results as 6.8.5-8. But it might use a different delegate to your setup. I'm not an expert at IM configuration with libraries etc etc. Inkscape is generally more comprehensive than IM at reading SVG files. Thanks for infomation, but I need to ...
by dengshenyu
2013-06-02T06:11:46-07:00
Forum: Bugs
Topic: Bug for ImageMagick to import SVG image
Replies: 6
Views: 4783

Re: Bug for ImageMagick to import SVG image

After copying your example into grad.svg, for IM 6.8.5-8 on Windows 7, I get the expected 100x100: D:\web\im>%IM%identify grad.svg grad.svg SVG 100x100 100x100+0+0 16-bit sRGB 478B 0.031u 0:00.021 D:\web\im>%IM%convert grad.svg g.png D:\web\im>%IM%identify g.png g.png PNG 100x100 100x100+0+0 16-bit ...
by dengshenyu
2013-06-02T04:03:53-07:00
Forum: Bugs
Topic: Bug for ImageMagick to import SVG image
Replies: 6
Views: 4783

Bug for ImageMagick to import SVG image

Hi IM devel members, I have trouble when using ImageMagick to deal with SVG image. Here's the SVG image, <?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg xmlns="http://www.w3.org/2000/svg" version="1.1 ...