3 ms·
I had success with the famous scanner.sh gist (https://gist.github.com/andyrbell/25c8632e15d17c83a54602f6acde2724 https://gist.github.com/andyrbell/25c8632e15d1
by kbmn 2y ago
I had success with the famous scanner.sh gist (https://gist.github.com/andyrbell/25c8632e15d17c83a54602f6acde2724 https://gist.github.com/andyrbell/25c8632e15d17c83a54602f6ac...):
$ convert -density 90 input.pdf -rotate 0.5 -attenuate 0.2 +noise Multiplicative -colorspace Gray output.pdf
(convert command -> requires ImageMagick)