1
0
Fork 0
mirror of https://gitlab.com/oloturia/fumcaso.git synced 2024-11-01 01:38:16 +01:00

fixed pdf resolution

This commit is contained in:
itec78 2021-05-11 15:23:53 +02:00
parent 3d1f36cb8b
commit d939f704b2

View file

@ -272,4 +272,4 @@ if __name__ == "__main__":
nopage += 1 nopage += 1
if fileName[len(fileName)-4:] != ".pdf": if fileName[len(fileName)-4:] != ".pdf":
fileName += ".pdf" fileName += ".pdf"
pagePdf[0].save(fileName,save_all=True, append_images=pagePdf[1:]) pagePdf[0].save(fileName, resolution=300, save_all=True, append_images=pagePdf[1:])