diff --git a/README.md b/README.md index f145210..30d71b3 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,30 @@ pdf-slim input.pdf [output.pdf] [--dpi 200] [--min-font-bytes 150000] - `--min-font-bytes` — re-subset embedded TrueType fonts larger than this (default `150000`). +### Example + +``` +[ phanes@forge.silogroup.lan ] << ~/Downloads >> + +[- du -sh 2026-06-08* +28K 2026-06-08.docx +1.8M 2026-06-08.pdf + +[ phanes@forge.silogroup.lan ] << ~/Downloads >> + +[- pdf-slim 2026-06-08.pdf 2026-06-08-small.pdf +input: 2026-06-08.pdf (1,852,511 bytes) +method: font-resubset (pixel-identical at 200 dpi) +output: 2026-06-08-small.pdf (192,810 bytes, -89.6%) + +[ phanes@forge.silogroup.lan ] << ~/Downloads >> + +[- du -sh 2026-06-08* +28K 2026-06-08.docx +1.8M 2026-06-08.pdf +192K 2026-06-08-small.pdf +``` + ## Requirements The following tools must be on `PATH`: