mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
FIXUP Revert "Disable image compression when saving PDF"
This reverts commit f074db0beaa50389634203657f9b46307164a353.
This commit is contained in:
parent
f676891482
commit
e2531279c0
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ class PixelsToPDF(DangerzoneConverter):
|
||||||
else:
|
else:
|
||||||
safe_pdf_path = f"/safezone/safe-output-compressed.pdf"
|
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:
|
async def main() -> int:
|
||||||
|
|
Loading…
Reference in a new issue