我有一个matplotlib图的列表,我想知道是否有任何方法可以将它们连接到一个长的png文件中。我试过用MagickWand做实验,但似乎没有办法将数字作为canvas.Image
输入。你知道吗
我也尝试过用reportlab
创建一个pdf,然后尝试用wand
解释,但是每次我尝试在控制台中打开wand.image.Image(filename=pdf_file_name)
,它都会将None
打印到输出中。你知道吗
有什么我忽略了,和/或有没有更好的方法来做到这一点。最好是PNG文件。你知道吗
提前谢谢!你知道吗
Tags:
假设所有的图都包含在一个PDF中,您可以使用wand遍历每个页面并将它们附加到一个PNG图像中。此技术可以根据需要修改为多个图形。你知道吗
相关问题 更多 >
编程相关推荐