Bug 504152 - [Wishlist] Allow for PDF size+ management.
Summary: [Wishlist] Allow for PDF size+ management.
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (other bugs)
Version First Reported In: unspecified
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-13 14:44 UTC by Danny Medina
Modified: 2025-05-13 22:36 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Danny Medina 2025-05-13 14:44:23 UTC
My need to shrink pdf sizes has arised once more, I scanned about 52 pages of documents and while i know I could use smaller dpi on my printer's setting, at the time I was unable to do so; that and the fact that It just didn't cross my mind, specially when wanting to make good clear/readable scans. The pages amounted to about 43mb and I was searching for something to help me get it down to less than 25mb in Okular but i did not find such a setting, not on the 'export as' nor on 'save as' 

I searched online and found a neat command that helped me tremendously and I thought that the requirements for it looked somewhat simple (requiring just ghostscript) The command was:

gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf

* It would be nice to have Okular be able to reduce a pdf's file size, maybe based on profiles like gs' compatibility has ei: screen , ebook , default, printer etc etc.

* Not only that, but how about also being able to delete and or re-order pages?
Comment 1 Albert Astals Cid 2025-05-13 22:36:34 UTC
Okular is not a PDF editor.

There are a multitude of programs out there that can do what you want, use those.