python提取pdf图片报错AttributeError: ‘Pixmap‘ object has no attribute ‘writePNG‘
importosimportreimportfitzdefextract_pic_info(filepath,pic_dirpath):"""提取PDF中的图片@paramfilepath:pdf文件路径@parampic_dirpath:要保存的图片目录路径@return:"""ifnotos.path.exists(pic_dirpath):os.makedirs(pic_dirpath)#使