51
57
#get all bounding boxes in file by calling inkscape again with the --querry-all command line option
52
58
#it returns a comma seperated list structured id,x,y,w,h
60
p = Popen('inkscape --query-all "%s"' % (file), shell=True, stdout=PIPE, stderr=PIPE)
54
66
reader=csv.reader( f.readlines() )