使用Python获取PDF的快照

2024-05-26 11:13:27 发布

您现在位置:Python中文网/ 问答频道 /正文

Possible Duplicate:
Converting a PDF to a series of images with Python

我知道使用Python打开PDF文件的代码:

import os
os.startfile('C:\file_name.pdf')

我的问题是我是否可以将pdf文件的特定页面保存为图像文件(jpeg、png)?在


Tags: 文件ofto代码importpdfoswith