by baicunko on 5/12/20, 6:04 PM with 168 comments
by jmwilson on 5/12/20, 9:51 PM
convert -density 150 input.pdf -colorspace gray -linear-stretch 3.5%x10% -blur 0x0.5 -attenuate 0.25 +noise Gaussian -rotate 0.5 temp.pdf
gs -dSAFER -dBATCH -dNOPAUSE -dNOCACHE -sDEVICE=pdfwrite -sColorConversionStrategy=LeaveColorUnchanged dAutoFilterColorImages=true -dAutoFilterGrayImages=true -dDownsampleMonoImages=true -dDownsampleGrayImages=true -dDownsampleColorImages=true -sOutputFile=output.pdf temp.pdf
by miles on 5/12/20, 6:50 PM
by baicunko on 5/12/20, 6:05 PM
by ArneVogel on 5/12/20, 7:19 PM
Original: Please don't upload any private or confidential pdfs right now. I emailed OP two security concerns that trivially allow anybody to see any of the converted pdfs.
by atum47 on 5/12/20, 7:16 PM
https://stackoverflow.com/questions/4845239/how-can-i-disabl...
by yourapostasy on 5/12/20, 7:30 PM
Before resorting to this, I've found that if I convert the PDF to an image, and send it as a TIFF file, that is usually what the organization's people are looking for. I haven't had to do that for years now.
On the extremely rare occasions someone asks if I signed it on "real paper" (lol), I say with a straight face, "yep, I'm a computer guy, I have a really good scanner and image software". I do. It's just gathering dust. Last time that happened was about 5 years ago.
Over 20 years ago, I wrote my signature in thick, black Sharpie across an entire letter-sized, landscape-orientation page, scanned it with the highest resolution scanner I could cadge at the time (600 dpi, wooo!), laboriously cleaned it up, added an alpha channel, then even more laboriously vectorized it. Ever since then, dropping my signature into PDF's has worked except for those situations where a physical, wet-signed notarized document was required.
At first I took to the trouble to convert the resultant PDF into TIFFs and digitally sign them. Then with some experimentation I found that flattened and stripped PDFs without the digital signature were accepted without comment. Further experimentation revealed to me that only developers like us could even tell the difference, and plain PDF's where I dropped the signature into them are accepted these days.
Now, I use an Acrobat DC stamp that I converted from the vectorized form, and haven't touched the old bitmap or vectorized versions in years. Ironically, the most secure option of digital signatures gave me the most problems.
by switz on 5/12/20, 6:45 PM
I love it.
Original (was PDF): https://i.imgur.com/v5nn1ql.png
Processed: https://www.scanyourpdf.com/media/Scan_2020512_wegb.pdf
by dkonofalski on 5/12/20, 6:43 PM
by supernova87a on 5/13/20, 12:01 AM
by WalterBright on 5/12/20, 7:59 PM
1. picks one incantation randomly for each display 2. slightly and randomly alters the position/rotation of each character 3. adds a tiny blotch now and then
Like the print in a real book, especially ones printed before 1970.
I also suggest that the background be an actual scanned image of a blank piece of paper. Those "paper color" backgrounds are too perfect. Take some blank pages out of an older book sometime and scan them, and you'll see what I mean.
by j_4 on 5/12/20, 6:30 PM
Sadly, I'd also be extremely wary of sending the kind of documents that I need to print out and sign through some server-side black box.
by raldi on 5/12/20, 8:26 PM
by jduckles on 5/12/20, 7:59 PM
by 9nGQluzmnq3M on 5/13/20, 1:36 AM
by doc_gunthrop on 5/12/20, 7:35 PM
1) set to grayscale (optional), 2) add blur, 3) slight rotational tilt, 4) add gaussian blur (?)
You can go one further by randomly adding tiny artifacts (ie. specks) to add even more realism. Maybe even a simulated crease in a corner.
by secfirstmd on 5/12/20, 6:35 PM
Perhaps one suggestion. Can you update your documentation a bit to make it easier for someone to be able to implement it themselves? There's not much about that on the Github and I would guess some people would rather run their own locally.
by chmaynard on 5/13/20, 2:58 PM
by camillomiller on 5/13/20, 6:51 AM
by davchana on 5/12/20, 9:53 PM
I have my 3-4 copies of signatures as font file, along with initials.
by pingec on 5/12/20, 8:40 PM
I like that it is open source and in theory possible to self host since I really wouldn't want to upload my documents anywhere.
I would really like to know if a similar solution exists that is very easy to run locally or if it runs in the browser it does everything client-side?
by SanchoPanda on 5/12/20, 6:41 PM
by fabatka on 5/12/20, 8:47 PM
by miki123211 on 5/13/20, 11:16 AM
by morisy on 5/12/20, 8:49 PM
by terrycody on 5/13/20, 1:42 AM
by mapster on 5/14/20, 2:14 AM
by thesis on 5/12/20, 10:43 PM
What I normally do in a pinch is use Google Drive.. it has a "scan" option that you can take a picture with your phone.
by hawaiian on 5/12/20, 11:58 PM
by aasasd on 5/13/20, 2:00 AM
by Havoc on 5/12/20, 9:39 PM
by lilblockchains on 5/12/20, 7:24 PM
by electriclove on 5/12/20, 10:19 PM
by sergiotapia on 5/13/20, 2:21 AM
by krick on 5/13/20, 12:47 AM
by greenknight on 5/13/20, 12:04 AM
by IRM on 5/13/20, 12:28 PM
by underlines on 5/12/20, 8:38 PM
by ecnahc515 on 5/12/20, 11:23 PM
by bastard_op on 5/12/20, 7:09 PM
by talkinghead on 5/13/20, 7:59 AM
by ladybro on 5/12/20, 7:02 PM
by IRM on 5/13/20, 12:27 PM
by abiogenesis on 5/13/20, 12:13 AM
by behnamoh on 5/12/20, 7:41 PM
the server is down.