{"repo":"overflowy/make-look-scanned","free":true,"listed":false,"github":"https://github.com/overflowy/make-look-scanned","clone":"git clone https://github.com/overflowy/make-look-scanned.git","description":"Makes PDFs look scanned (CLI or in the browser via WASM)","language":"Go","stars":738,"topics":["go","pdf","scan","wasm"],"license":"AGPL-3.0","category":"media-processing","readme_excerpt":"make-look-scanned A CLI that takes a PDF and degrades it to look like a physical scan of a printout — skew, grayscale, warm paper tone, scanner grain, defocus, edge shadow, and JPEG compression artifacts. Also runs client-side in the browser via WASM. Each page is rasterized to an image, run through the effect pipeline, and reassembled into a new image-only PDF (the original selectable text is gone — faithful to a basic scanner). Build Requires Go and a C toolchain (go-fitz links MuPDF via cgo, so the binary is self-contained — nothing to install at runtime). Usage Flags may appear before or after the input filename. Flags Flag Default Meaning ------------------ --------- ------------------------------------------- -o .scanned.pdf output path --preset — named preset from config.toml --seed content hash random seed (override for a new look) --force false overwrite an existing output file --dpi 150 render resolution --skew 0.6 max rotation degrees (0 disables) --grayscale true desaturate ( --grayscale=false keeps color) --paper-tone 0.6 warm paper tint strength 0..1 --noise 0.08 scanner grain 0..1 --blur 0.4 defocus gaussian sigma --edge-shadow 0.15 border vignette 0..1 --jpeg-quality 70 JPEG quality 1..100 Each numeric knob disables its effect at 0 . Determinism Output is deterministic by default : the seed is derived from the input PDF's content, so the same file always produces the same scan. Pass --seed N for a different (but reproducible) look. Same input + seed yields a b","default_branch":null,"files":null,"tree":[],"storefront":"/r/overflowy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/overflowy/make-look-scanned/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}