| ▲ | Show HN: Make PDFs look scanned (CLI or in the browser via WASM)(github.com) |
| 45 points by overflowy 3 hours ago | 21 comments |
| |
|
| ▲ | wan888888 an hour ago | parent | next [-] |
| I'm having a similar use case from time to time, I just use imagemagick magick -density 150 input.pdf \
-colorspace Gray \
-virtual-pixel White -background White \
-rotate 0.7 +repage \
-attenuate 0.45 +noise Gaussian \
-blur 0x0.4 \
-brightness-contrast -5x12 \
-compress jpeg -quality 78 scanned.pdf |
| |
| ▲ | __mharrison__ 25 minutes ago | parent [-] | | I have something similar. Someone asked for a signed PDF. I digitally signed it and sent it to them. They said it has to be scanned. So I did some image magic fu to it to rotate it and make it look crappy. Then they accepted it. | | |
|
|
| ▲ | kccqzy 6 minutes ago | parent | prev | next [-] |
| I just display the PDF on my monitor and use my phone to take a photo of it. Scanner apps are good at eliminating moire patterns while accentuating the dust on my monitor. |
|
| ▲ | mysterydip 2 hours ago | parent | prev | next [-] |
| I’m all for fun side projects, so don’t take this the wrong way. Does this have a practical use case? Like are people actually wanting to make their PDFs less legible? Usually I’m trying to do the opposite, clean up my scanned-in documents. |
| |
| ▲ | pooploop64 2 hours ago | parent | next [-] | | I've been in situations where I had to supply a digital version of a signed document but the person asking for it required that it be physically printed off to be signed and then scanned back in. Some policy thing. I think it would technically be fraud to use this but that's one use I thought of. The description however seems like the creator just likes how scanned documents look. They describe it like how analogue music fans describe vinyl records. I guess everything is nostalgic to someone out there eventually. | |
| ▲ | ktpsns 2 hours ago | parent | prev | next [-] | | This is in fact useful for people who demand you to print out and sign contracts. Did so many times in the past, using some ghostscript+imagemagick scripting to avoid the cargo culturing. | |
| ▲ | jhbadger an hour ago | parent | prev | next [-] | | For some value of practical, I could see it being useful in making handouts for an RPG where the handout is supposed to be a photocopy of a section of some rare book the players need to scan for clues. | |
| ▲ | PufPufPuf 19 minutes ago | parent | prev | next [-] | | I was actually required in the past to "print, sign and scan", and due to my lack of a printer I just took a picture of my signature and pasted it in. Nobody ever complained, but if they did, I imagine I'd rather use something like this than go to a copycenter to print a single sheet of paper to satisfy some arbitrary requirement. | |
| ▲ | laurencerowe 2 hours ago | parent | prev | next [-] | | Sometimes companies demand you print/sign/scan a document. | |
| ▲ | BrandoElFollito 33 minutes ago | parent | prev | next [-] | | There are countries such as France that request plenty of nonsensical handwriting with some weird also handwritten formulas. This comes from the times where graphology was a big thing in France (you would usually be required to send a handwritten letter of motivation). Poland is also strong on that, requiring "readable handwritten signatures". This will end when the dinosaurs that still feel it is important go away. | |
| ▲ | nutjob2 an hour ago | parent | prev [-] | | Typically when I send a form I will do as much as possible in a PDF editor, including the signature. Most of the world is in denial about how electronic documents, especially scanned ones, work, so you have to play along to stop them from getting upset. |
|
|
| ▲ | carsonye an hour ago | parent | prev | next [-] |
| Is there any good tool that does the opposite — turning scanned documents into clean PDFs? I’ve had that need recently. |
|
| ▲ | echoangle 2 hours ago | parent | prev | next [-] |
| If you’re interested in another suggestion: maybe allow image output too since that seems to be one of the steps in your pipeline? Maybe for some people using the jpg or a png directly is better than the final pdf. |
|
| ▲ | overflowy 3 hours ago | parent | prev | next [-] |
| I made this because the online "make my PDF look scanned" tools want you to upload your file to their servers, which feels sketchy at best. Also, I wasn't happy with the output they produce, I wanted something that looks realistic. |
|
| ▲ | sublinear 24 minutes ago | parent | prev | next [-] |
| In the example image, the edge gradient bevels give it away. There might be extra stuff that can be done to remedy that with this tool, but I'm not sure I'd ever use this anyway. |
| |
| ▲ | overflowy 19 minutes ago | parent [-] | | Everything can be adjusted, that mostly comes from `--paper-tone` being set too high. |
|
|
| ▲ | ashton314 an hour ago | parent | prev | next [-] |
| This needs a flag to insert random blank pages |
|
| ▲ | costabrosky 3 hours ago | parent | prev | next [-] |
| Useful tool |
|
| ▲ | blopp99 3 hours ago | parent | prev | next [-] |
| Niceee |
|
| ▲ | colesantiago 42 minutes ago | parent | prev [-] |
| Thank you for making this a free tool. There are too many PDF tools that are unnecessarily paywalled, or have a paid tier that don't make any sense. We need more tools from paid ones that should be completely free and OSS. |