4 ms·
I just use convert from imagemagick. There are so may options, e.g.: convert -density 100 -blur 0x0.1 +noise Gaussian -colorspace gray -rotate 0.5 -atten
by f311a 5y ago
I just use convert from imagemagick.
There are so may options, e.g.:
convert -density 100 -blur 0x0.1 +noise Gaussian -colorspace gray -rotate 0.5 -attenuate 0.2 mypdf.pdf scan.pdf
- mcintyre1994 5y agoThat's basically what this is doing to fake the scan: https://gitlab.com/edouardklein/falsisign/-/blob/master/falsisign.sh#L125 https://gitlab.com/edouardklein/falsisign/-/blob/master/fals... > convert -density "${DENSITY}" "${PAGE_IN}" -linear-stretch 3.5%x10% -blur 0x0.5 -attenuate 0.25 -rotate "${ROTATION}" +noise Gaussian "${TMPDIR}/${PAGE_BN}-scanned.pdf"