SVG convert & viewBox
Posted: 2009-08-10T22:21:22-07:00
Dear All,
I am trying to convert SVG file format to JPG. The conversion works fine for the "full" image, but when converting the same data with a different SVG viewBox (smaller portion of the image), I just get the top left corner of the image. It looks like the viewBox attribute of the SVG is not taken into account by PerlMagick and it's just rendering default (0,0,DocWidth,DocHeight).
I haven't seen much posts regarding SVG and PerlMagick. Does anybody has experience doing that kind of thing ?
ImageMagick 6.5.4 Q16 on WIndows XP SP2
Cheers,
Jerome
I am trying to convert SVG file format to JPG. The conversion works fine for the "full" image, but when converting the same data with a different SVG viewBox (smaller portion of the image), I just get the top left corner of the image. It looks like the viewBox attribute of the SVG is not taken into account by PerlMagick and it's just rendering default (0,0,DocWidth,DocHeight).
I haven't seen much posts regarding SVG and PerlMagick. Does anybody has experience doing that kind of thing ?
ImageMagick 6.5.4 Q16 on WIndows XP SP2
Cheers,
Jerome