name = file.split('.svg')[0] cairosvg.svg2png(url=name+'.svg',write_to=name+'.png'). This will also ensure you don't overwrite your original .svg files, ...
確定! 回上一頁