frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Make PDFs look scanned (CLI or in the browser via WASM)

https://github.com/overflowy/make-look-scanned
45•overflowy•3h ago

Comments

blopp99•2h ago
Niceee
overflowy•2h ago
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.
costabrosky•2h ago
Useful tool
mysterydip•1h ago
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.
ktpsns•1h ago
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.
laurencerowe•1h ago
Sometimes companies demand you print/sign/scan a document.
pooploop64•1h ago
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.

jhbadger•1h ago
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.
nutjob2•47m ago
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.
BrandoElFollito•34m ago
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.

PufPufPuf•20m ago
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.
echoangle•1h ago
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.
ashton314•1h ago
This needs a flag to insert random blank pages
wan888888•1h ago
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__•26m ago
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.
carsonye•1h ago
Is there any good tool that does the opposite — turning scanned documents into clean PDFs? I’ve had that need recently.
colesantiago•44m ago
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.

sublinear•25m ago
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•20m ago
Everything can be adjusted, that mostly comes from `--paper-tone` being set too high.
kccqzy•7m ago
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.

Show HN: StartupWiki – A Free Alternative to Crunchbase

https://startupwiki.tech/
102•shpran•5h ago•32 comments

Show HN: Make PDFs look scanned (CLI or in the browser via WASM)

https://github.com/overflowy/make-look-scanned
45•overflowy•3h ago•20 comments

Show HN: We post-trained a model that pen tests instead of refusing

https://www.argusred.com/cli
50•dk189•7h ago•22 comments

Show HN: Tiny – An interpeted dynamic langauge with inline Go native functions

https://github.com/confh/Tiny
12•confis•2h ago•3 comments

Show HN: Microcrad – Micrograd Reimplemented in C

https://github.com/oraziorillo/microcrad
49•oraziorillo•3d ago•18 comments

Show HN: LoopFlow – loop engineering for Claude Code

https://github.com/faisalishfaq2005/loopflow
2•faisalishfaq•17m ago•0 comments

Show HN: My Windows XP portfolio with working Game Boy and iPod

https://mitchivin.com/
30•mitchivin•2h ago•14 comments

Show HN: An ASCII 3D Rendering Engine

https://glyphcss.com
7•apresmoi•2h ago•1 comments

Show HN: An n8n alternative where coding agents build the workflows, not humans

https://velane.sh/
3•abhishekraj272•2h ago•0 comments

Show HN: Criterion Closet as a website – pull any of 1,247 films off the shelf

https://the-criterion-closet.vercel.app
11•olievans•8h ago•4 comments

Show HN: Cody – Voice control for Neovim using its own commands, LSP

https://github.com/juancgarza/cody
3•jcgr•3h ago•0 comments

Show HN: Metiq: a real time 3D globe for 100 public datasets

https://metiq.space
141•rakeda•4d ago•41 comments

Show HN: Talos – Open-source WASM interpreter for Lean

https://github.com/cajal-technologies/talos
99•mfornet•2d ago•25 comments

Show HN: Tiny.Place – AI Social network for orchestration, payments & jobs

https://github.com/tinyhumansai/tiny.place
3•enamakel•5h ago•3 comments

Show HN: Gerrymandle - Daily puzzle game where you redraw electoral districts

https://gerrymandle.cc/
222•realmofthemad•2d ago•77 comments

Show HN: Hi-shell – type commands in English, get ghost text in zsh

https://github.com/longyijdos/hi-shell
4•longyijdos•6h ago•1 comments

Show HN: Are You in the Weights?

https://www.intheweights.com/
456•turtlesoup•2d ago•241 comments

Show HN: Web-Based FPGA Viewer

https://edacation.github.io/nextpnr-viewer/
3•malmeloo•7h ago•0 comments

Show HN: Make every bug perfectly reproducible

https://workers.io/
13•chaitanyya•14h ago•0 comments

Show HN: Pagecast – Publish Markdown/HTML Reports to Cloudflare Pages

https://github.com/Amal-David/pagecast
31•amaldavid•2d ago•8 comments

Show HN: AlphaVibe – AI that reads your DeFi wallet live via DeBank

https://quantarena.xyz/
3•denis4inet•8h ago•0 comments

Show HN: An 8-bit live gamecast for baseball

https://ribbie.tv/watch
254•brownrout•3d ago•138 comments

Show HN: We built an 8-bit CPU as 2nd year EE students

https://github.com/c0rRupT9/STEPLA-1
107•CorRupT9•5d ago•46 comments

Show HN: Aastro – Extendable API Gateway in Go

https://starwalkn.github.io/aastro-docs/
2•starwalkn•12h ago•2 comments

Show HN: Music from every single country on Earth, generated in Esperanto

https://elevenexperiments.com/around-the-world?lang=eo&genre=de
13•ktoyame•1d ago•10 comments

Show HN: High-Res Neural Cellular Automata

https://cells2pixels.github.io/
204•esychology•3d ago•54 comments

Show HN: Autonomy – Self-Harness/Self-Directed AI Agent Core Under Development

https://autonomy-landing-page.vercel.app/
4•agentic_vector•14h ago•0 comments

Show HN: Pytest-tia – run only the tests your Git diff affects, with receipts

https://github.com/breadMSA/pytest-tia
2•BreadWasEaten•15h ago•1 comments

Show HN: NanoEuler – GPT-2 scale model in pure C/CUDA from scratch

https://github.com/JustVugg/nanoeuler
6•vforno•1d ago•0 comments

Show HN: Crawlie – Free open-source SEO audit tool for humans and agents

https://github.com/spronta/crawlie
19•seandotexe•1d ago•6 comments