[Qgis-developer] Get size of SVG in Python

Tom Chadwin tom.chadwin at nnpa.org.uk
Thu Jun 23 07:35:35 PDT 2016


This works:

xml.etree.ElementTree.parse(sl.path()).getroot().attrib["width"]

Happy with that unless there is A Better Way.



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Get-size-of-SVG-in-Python-tp5273032p5273035.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.


More information about the Qgis-developer mailing list