step1
先将组合图保存为svg格式
step2
利用python代码将svg转化为eps
from svglib.svglib import svg2rlg
from reportlab.graphics import renderPDF, renderPM
# Set input and output file paths
input_file = "a.svg"
output_file = "a.eps"
# Convert SVG to EPS
drawing = svg2rlg(input_file)
renderPDF.drawToFile(drawing, output_file)
运行就可以生成.eps的图片