ocr improved
This commit is contained in:
8
convert_svg_to_png.py
Normal file
8
convert_svg_to_png.py
Normal file
@@ -0,0 +1,8 @@
|
||||
import cairosvg
|
||||
import sys
|
||||
|
||||
svg_path = sys.argv[1]
|
||||
png_path = sys.argv[2]
|
||||
|
||||
cairosvg.svg2png(url=svg_path, write_to=png_path)
|
||||
print(f"Converted {svg_path} to {png_path}")
|
||||
Reference in New Issue
Block a user