EasyTrans icon indicating copy to clipboard operation
EasyTrans copied to clipboard

一直提示没有getImageList这个方法

Open xcg340122 opened this issue 3 years ago • 0 comments

C:\Users\zzzzz\Downloads\EasyTrans-master\EasyTrans\trans\output_file\translated_file.pdf Traceback (most recent call last): File "trans_file.py", line 54, in img_list = cur_page.getImageList() # 获取当前页面的图片对象 AttributeError: 'Page' object has no attribute 'getImageList'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "trans_file.py", line 218, in new_pdf.save(new_file_name, garbage=4, deflate=True, clean=True) # 保存翻译后的pdf File "C:\Users\zzzzz\AppData\Roaming\Python\Python38\site-packages\fitz\fitz.py", line 4456, in save raise ValueError("cannot save with zero pages") ValueError: cannot save with zero pages

xcg340122 avatar Sep 19 '22 06:09 xcg340122