title: How get resolution of SVG image in python?
body: <p>Is there any way to get the resolution of an SVG image in python. All other image resolution works fine with PIL. I don't get any solution for SVG image.I am using following code to get the resolution but it works only for some cases, </p>
  
  <pre><code>data = request.FILES['picture']
  tree = ET.parse(data)
  root = tree.getroot()
  h = int(root.attrib['height'])
  w = int(root.attrib['width'])
  print(h, w)
  </code></pre>