Comment 6 for bug 618581

Revision history for this message
jazzynico (jazzynico) wrote :

Thanks for this extension!

I've tried to run it on Windows XP, Inkscape 0.47 and trunk revision 9674, and nothing is exported (no error message).
"Directory to save" set to C:\ (also tried C:/) and "Image name" not changed.
SVG document attached.

There's a little bug that prevent the script from running when the document height and width elements have units (tested with the French default template).
Replacing (lines 126 and 142)
  height = root.attrib['height'] and width = iroot.attrib['width']
with
  height = inkex.unittouu(root.attrib['height']) and width = inkex.unittouu(root.attrib['width'])
seems to fix this issue.