Live data from Hacker News

Show HN: Make Your PDF Look Scanned

scanyourpdf.com

31–40 of 177 posts

Re: Show HN: Make Your PDF Look Scanned

#31
It looks like what is being used for the transformation is:

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.

Re: Show HN: Make Your PDF Look Scanned

#32
post #4

Haha, great job. There's also something to be said for the grim humour of how technology led us to this point. 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.

I was in need of this recently, and found that an ImageMagick one-liner can do the job quite nicely: https://gist.github.com/andyrbell/25c8632e15d17c83a54602f6ac...

Re: Show HN: Make Your PDF Look Scanned

#34

Earlier quoted context omitted.

Fixed. Sorry, forgot to configure nginx.

isn't this a problem? https://github.com/baicunko/scanyourpdf/blob/master/convertp...

I thought github had hooks for this kind of thing now? I remember it caught a private key I tried to push to a similar django repo (not for a prod site or anything), and that was about 2 years ago

Re: Show HN: Make Your PDF Look Scanned

#36
post #2

I recently came across a couple of institutions which required me to print, sign and send back a couple of documents. COVID and all of that means I don't have a printer at home. I made this website by inspiration from other posts here and now it's free to use! Code is open source so feel free to comment any new ideas or things you would like includede!

it occurs to me that you could do this with a lower tech method, just sign your name on a piece of scotch tape and align the tape on the monitor over the document, take a photo with your phone and then use that as the 'scanned image' in the pdf file.

Who owns pens in 2020?

Re: Show HN: Make Your PDF Look Scanned

#37

Earlier quoted context omitted.

Fixed. Sorry, forgot to configure nginx.

isn't this a problem? https://github.com/baicunko/scanyourpdf/blob/master/convertp...

I manually modified the private key on the server before publishing here. Still learning on ENV VARIABLES and I couldn't make them work!

Re: Show HN: Make Your PDF Look Scanned

#38
post #23

Great you decided to share the source code, but then I was able to see that you let the admin session enabled. you can disable that on production https://stackoverflow.com/questions/4845239/how-can-i-disabl...

Thanks! I will implement this once the traffic from HackerNews decreases a bit (server is getting totally hammered).

Still there's no admin user configured so it's safe

Re: Show HN: Make Your PDF Look Scanned

#39
post #3
post #2

I recently came across a couple of institutions which required me to print, sign and send back a couple of documents. COVID and all of that means I don't have a printer at home. I made this website by inspiration from other posts here and now it's free to use! Code is open source so feel free to comment any new ideas or things you would like includede!

Pretty cool idea! One suggestion: add thumbnail/preview of how docs will look like after "scanned". Or maybe even a "Before and After" teaser! :)

I'm adding this to the pending in GitHub, great idea
Post reply on HN