internetarchive / archive-pdf-tools

Fast PDF generation and compression. Deals with millions of pages daily.
https://archive-pdf-tools.readthedocs.io/en/latest/
GNU Affero General Public License v3.0
97 stars 13 forks source link

Create better presets for users with quality-comparable options for openjpeg/grok/pillow and kakadu #48

Open MerlijnWajer opened 2 years ago

MerlijnWajer commented 2 years ago

Per this issue https://github.com/internetarchive/archive-pdf-tools/issues/42#issuecomment-1119980257 - it might be a better idea to not have users mess around with compression flags too much and provide human readable 'profiles' or 'presets'.

Having shared presets/profiles would also make it easier to integrate the same profiles in other standalone tools that are to come.

Redsandro commented 2 years ago

:bulb: Just a thought: The presets may be allowed to have stronger compression when resolution increases.

For example I scan some (boring) documents 300 DPI and some (pretty) documents 600 DPI and compress the latter more.