added blink testing script
This commit is contained in:
parent
81339b159f
commit
912ffd8e5d
9 changed files with 196 additions and 43 deletions
|
|
@ -0,0 +1,14 @@
|
|||
from PIL import Image
|
||||
import numpy as np
|
||||
|
||||
svg_file = 'CiscoTheProot/testImg.svg'
|
||||
|
||||
from xml.dom import minidom
|
||||
|
||||
doc = minidom.parse(svg_file) # parseString also exists
|
||||
path_strings = [path.getAttribute('d') for path
|
||||
in doc.getElementsByTagName('path')]
|
||||
doc.unlink()
|
||||
|
||||
|
||||
print("hello")
|
||||
Loading…
Add table
Add a link
Reference in a new issue