FIXUP Revert "Disable image compression when saving PDF"

This reverts commit f074db0beaa50389634203657f9b46307164a353.
This commit is contained in:
deeplow 2024-01-03 08:52:42 +00:00
parent f676891482
commit e2531279c0
No known key found for this signature in database
GPG key ID: 577982871529A52A

View file

@ -86,7 +86,7 @@ class PixelsToPDF(DangerzoneConverter):
else:
safe_pdf_path = f"/safezone/safe-output-compressed.pdf"
safe_doc.save(safe_pdf_path)
safe_doc.save(safe_pdf_path, deflate_images=True)
async def main() -> int: