Bug 457811

Summary: May it be possible to have okular clean a PDF while saving?
Product: [Applications] okular Reporter: zafyipesti
Component: generalAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: wishlist CC: nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Other   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description zafyipesti 2022-08-12 20:22:01 UTC
This is available in MuPDF but I would like to see it in okular as well. What would be great to have is if while saving, optionally it can very thoroughly clean a PDF of redundant elements and anything that was previously removed from the PDF and optionally sanitize it of any leftover sensitive data. This is something that would be a welcoming addition to okular. I recall there's another bug about how okular doesn't delete removed PDF annotations, this is something that could be removed when the cleaning happens.