svg: Gradient offset wrong when using transform="rotate...
Posted: 2011-02-07T07:37:35-07:00
Hi
If you have a svg file with a with a element that uses a gradient, and it has a rotate transform, then the offset of the gradient.
Minimal test case: http://pastebin.com/XmqP7U7N
ImageMagick: http://imagebin.org/136587
Firefox: http://imagebin.org/136586
My use case is this file: http://en.wikipedia.org/wiki/File:Rowin ... mplate.svg, and the many files based on it. Sometimes they are rendered correctly, e.g.: http://en.wikipedia.org/wiki/File:Josep ... _Blade.svg, but if I download them, and run convert manually on my computer, then they are allways wrong. So I think that was not a bug in some version of imagemagick in the past, and they are showing a cached version.
Gary
If you have a svg file with a with a element that uses a gradient, and it has a rotate transform, then the offset of the gradient.
Minimal test case: http://pastebin.com/XmqP7U7N
ImageMagick: http://imagebin.org/136587
Firefox: http://imagebin.org/136586
My use case is this file: http://en.wikipedia.org/wiki/File:Rowin ... mplate.svg, and the many files based on it. Sometimes they are rendered correctly, e.g.: http://en.wikipedia.org/wiki/File:Josep ... _Blade.svg, but if I download them, and run convert manually on my computer, then they are allways wrong. So I think that was not a bug in some version of imagemagick in the past, and they are showing a cached version.
Gary