0

我在我的 Python 程序中使用 pdf2image.convert_from_bytes 将 PDF 页面字节转换为图像。当我创建一个可执行文件时,它在 Windows 10 上运行良好,但在 Windows 11 下没有显示任何结果。

from pdf2image import convert_from_bytes

images = convert_from_bytes(data_buffer, dpi=200, first_page=1, last_page = xmax, fmt='jpeg')

pdf2image 的当前版本是“1.14.0”,在 Windows 10 和 Python 3.8.5(32 位)下

我该如何解决这个问题

4

0 回答 0