added blink testing script

This commit is contained in:
CiscoTheWolf 2023-05-21 22:56:20 +02:00
parent 81339b159f
commit 912ffd8e5d
9 changed files with 196 additions and 43 deletions

View file

@ -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")