cyanfish / naps2

Scan documents to PDF and more, as simply as possible.
https://www.naps2.com
Other
2.84k stars 327 forks source link

PDF compression #44

Open regs01 opened 1 year ago

regs01 commented 1 year ago

Is your feature request related to a problem? Please describe. Files could be pretty large sometimes.

Describe the solution you'd like Ghostscript offers some compression levels. Would be good to include them into PDF settings.

Describe alternatives you've considered

Additional context

AltoRetrato commented 1 year ago

I also miss (a lot!) options to set the resolution, quality and type of image compression when creating PDF files. For now, I end up editing the PDF generated by NAPS2 on Xara, so I can set the bitmap compression (Native, None, JPEG, Flate), custom DPI and JPEG quality.

Even though I could at first set the resolution before scanning, this means sometimes having to scan the same document twice! I might want to batch scan several pages / images and save some as a JPEG with a large resolution, and after that save all the scanned images as a PDF - sometimes with large resolution and quality (when I'm archiving photos, research/work results, etc.), other times as a low res./low quality quick reference (invoices, receipts, etc.).

bovergaauw commented 2 months ago

I agree, being able to set PDF quality parameters would be great. I currently circumvent the lack of such settings by saving as TIFF and converting to PDF, but for some family members that's a little too complicated...

AltoRetrato commented 2 months ago

I don't use NAPS2 anymore (mostly due to this issue), so please excuse me if I'm stating the obvious or talking about something that is already implemented.

Here are some references for the developers (or anyone that wants to patch the software):

bovergaauw commented 2 months ago

For as far as I'm concerned, just an option to select the PDF quality as it is done in IrfanView would be just fine.