图片元数据为base64编码可先转为对应字节数据
'''
src 源文件路径
taraget 输出路径
'''
def to_png(src, target):
with open(src, "r", encoding="utf-8") as f:
img_str_base = f
图片元数据为base64编码可先转为对应字节数据
'''
src 源文件路径
taraget 输出路径
'''
def to_png(src, target):
with open(src, "r", encoding="utf-8") as f:
img_str_base = f