简体   繁体   English

用python编写两个SVG文件

[英]Compose two SVG files in python

I would like to compose two SVG files (say a.svg and b.svg) in python in a very simple way: b.svg should be centered vertically and horizontally over a.svg 我想以一种非常简单的方式在python中编写两个SVG文件(例如a.svg和b.svg):b.svg应该在a.svg上垂直和水平居中

What is the easiest way to achieve that? 最简单的方法是什么? I've seen libraries like svgwrite and svg_stack but I don't think they do what I want. 我见过像svgwrite和svg_stack之类的库,但是我不认为它们可以满足我的要求。

Take a look at OpenCV . 看一下OpenCV It's a powerful image library with a friendly learning curve. 这是一个功能强大的图像库,具有友好的学习曲线。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM