bugfix/map-has-no-border #8

Merged
sarah merged 7 commits from bugfix/map-has-no-border into master 2022-09-09 22:44:25 +01:00
1 changed files with 14 additions and 0 deletions
Showing only changes of commit da3b95065b - Show all commits

14
get_file.py Normal file
View File

@ -0,0 +1,14 @@
import base64
from svglib.svglib import svg2rlg
from reportlab.graphics import renderPDF, renderPM
import cairosvg
file = "vcinema_map.svg"
import pyvips
image = pyvips.Image.new_from_file(file)
tn = image.thumbnail_image(1000, crop=pyvips.Interesting.ALL)
tn.write_to_file("x.png")