mirror of
https://codeberg.org/h3xx/optipdf
synced 2024-08-15 00:03:23 +00:00
33 lines
1.3 KiB
Markdown
33 lines
1.3 KiB
Markdown
|
# optipdf - optimize PDF files for size
|
||
|
|
||
|
Uses [qpdf](https://qpdf.sourceforge.io/) to optimize PDF files for size.
|
||
|
|
||
|
## Options
|
||
|
|
||
|
| Option | Meaning
|
||
|
| - | -
|
||
|
| --backup=SUFFIX | Keep a backup of un-optimized PDF files.
|
||
|
| --no-backup | Turn off backups (default).
|
||
|
| --careful | Stop if there are warnings in the PDF (default).
|
||
|
| --no-careful | Don't stop if there are warnings in the PDF.
|
||
|
| --force, -f | Force overwriting backups. No effect if --no-backup.
|
||
|
| --no-force | Prompt when overwriting backups (default). No effect if --no-backup.
|
||
|
| --lossy | Let qpdf(1) try to optimize images for size. MAY LEAD TO IMAGE QUALITY DEGRADATION. See qpdf(1) for more information.
|
||
|
| --no-lossy | Don't optimize images (default). This is safer.
|
||
|
| --preserve-timestamp | Copy timestamp from original file.
|
||
|
| --no-preserve-timestamp | Omit timestamp from original file (default).
|
||
|
|
||
|
## License
|
||
|
|
||
|
Copyright (C) 2021-2022 Dan Church.
|
||
|
|
||
|
License GPLv3: GNU GPL version 3.0 (https://www.gnu.org/licenses/gpl-3.0.html)
|
||
|
|
||
|
with Commons Clause 1.0 (https://commonsclause.com/).
|
||
|
|
||
|
This is free software: you are free to change and redistribute it.
|
||
|
|
||
|
There is NO WARRANTY, to the extent permitted by law.
|
||
|
|
||
|
You may NOT use this software for commercial purposes.
|