Spaces:
Running
Running
tripleS-Dev
commited on
Commit
·
407b489
1
Parent(s):
fd5ea98
update V1.3.0L Beta
Browse files- preset_fn.py +0 -7
preset_fn.py
CHANGED
@@ -9,13 +9,6 @@ from PIL import Image, ImageDraw, ImageFont, ImageColor, ImageFilter, ImageSeque
|
|
9 |
import pickle
|
10 |
|
11 |
import pre
|
12 |
-
from wand.image import Image
|
13 |
-
from wand.color import Color
|
14 |
-
|
15 |
-
def convert_svg_to_image(svg_path, output_path):
|
16 |
-
with Image(filename=svg_path, background=Color('white')) as img:
|
17 |
-
img.format = 'png'
|
18 |
-
img.save(filename=output_path)
|
19 |
|
20 |
def refresh():
|
21 |
|
|
|
9 |
import pickle
|
10 |
|
11 |
import pre
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
|
13 |
def refresh():
|
14 |
|