aaac8024 by 周伟奇

fix ext bug

1 parent cf8331db
...@@ -32,7 +32,7 @@ class TIFFHandler: ...@@ -32,7 +32,7 @@ class TIFFHandler:
32 32
33 for i in range(tiff.n_frames): 33 for i in range(tiff.n_frames):
34 try: 34 try:
35 save_path = os.path.join(self.img_save_path, 'page_{0}'.format(i)) 35 save_path = os.path.join(self.img_save_path, 'page_{0}.jpeg'.format(i))
36 tiff.seek(i) 36 tiff.seek(i)
37 tiff.save(save_path) 37 tiff.save(save_path)
38 self.img_path_list.append(save_path) 38 self.img_path_list.append(save_path)
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!