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
63•overflowy•4h ago

Comments

blopp99•4h ago
Niceee
overflowy•4h 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•4h ago
Useful tool
mysterydip•3h 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•3h 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•3h ago
Sometimes companies demand you print/sign/scan a document.
pooploop64•3h 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•2h 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•2h 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•1h 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•1h 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.
gsinclair•1h ago
I sometimes want to create PDFs that contain text (Python code) that is not selectable. I want my students to type it in, not copy and paste.

I don’t know whether this tool enables that, but the idea is in the neighbourhood of “make it look scanned”.

carstenhag•1h ago
iOS will natively let you select the text, as it does ocr on ever image. Maybe Android does the same.
digitaltrees•47m ago
Yes. Fraud. It makes a document look like it existed in physical form. Imagine for example a purchase agreement for a house that was physically scanned. You could change the signature to a different name and then make it look like it was original.

I am not asserting the authors intent is to facilitate fraud or there isn’t any other practical use, but let’s not be naive and act like fraud isn’t a likely use.

Before you downvote at least respond with why you think my analysis is wrong.

bluebarbet•5m ago
It's not that you're wrong, but the fact that it would be fraud is farcical and needs to be challenged.

My bank demands that I perform this ridiculous hoop-jumping. Like others here, I use ImageMagick hocus pocus to defeat them with trivial ease (sometimes they complain and so I just change the algo a bit). The whole situation is beyond absurd. It's security theater in place of security.

echoangle•3h 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•2h ago
This needs a flag to insert random blank pages
molybd3num•4m ago
or make a random page the wrong orientation
wan888888•2h 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__•1h 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.
nashashmi•1h ago
My goto technique: apply signature stamp. Flatten. Change blend mode to multiply. Convert page to image. Rotate image by 0.5 deg. Paste scanned page on tape. Flatten. Change blend mode of image to burn or multiply. Convert to image.

The only tell tale sign is that the text still has this aliasing like texture that doesn’t happen in real scanned pages.

1a527dd5•7m ago
Yeah I don't want to rain on OPs parade; but this is already a solved problem:

From my bookmarks (found on HN originally!)

https://gist.github.com/andyrbell/25c8632e15d17c83a54602f6ac...

carsonye•2h ago
Is there any good tool that does the opposite — turning scanned documents into clean PDFs? I’ve had that need recently.
colesantiago•2h 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.

molybd3num•3m ago
check out ilovepdf (https://www.ilovepdf.com/) not OSS (?) but it's free
sublinear•1h 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•1h ago
Everything can be adjusted, that mostly comes from `--paper-tone` being set too high.
kccqzy•1h 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. It looks highly realistic.
janoelze•18m ago
But… does it look scanned? https://i.imgur.com/ENKZV7s.png
overflowy•7m ago
You can play around with the sliders to obtain results that look more dramatic: https://cleanshot.com/share/gpfyJyJV

SMPTE Makes Its Standards Freely Accessible

https://www.smpte.org/blog/smpte-makes-its-standards-freely-accessible-openingstandards-library-t...
188•zdw•5h ago•57 comments

Unauthorized alert sent to cell phones across Brazil

https://www.cnn.com/2026/06/20/americas/brazil-hackers-unauthorized-alert-latam
56•zdw•2h ago•28 comments

Alice is impatient

https://brooker.co.za/blog/2026/06/19/waiting.html
21•birdculture•2h ago•2 comments

UHF X11: X11 Built for VisionOS and Apple Vision Pro

https://www.lispm.net/apps/uhf-x11/
133•zdw•5h ago•18 comments

PostgresBench: A Reproducible Benchmark for Postgres Services

https://clickhouse.com/blog/postgresbench
55•saisrirampur•3h ago•9 comments

DOS Game "F-15 Strike Eagle II" reversing project needs DOS test pilots

https://neuviemeporte.github.io/f15-se2/2026/06/20/needyou.html
173•LowLevelMahn•7h ago•47 comments

A Love Story

https://pudding.cool/2026/06/love-story/
12•simonebrunozzi•2h ago•2 comments

Inference cost at scale with napkin math

https://injuly.in/blog/napkin-inference-cost/index.html
31•gmays•4d ago•4 comments

The Wholesale Plagiarism of Obscure Sorrows

https://waxy.org/2026/06/the-wholesale-plagiarism-of-obscure-sorrows/
283•ridesisapis•4h ago•121 comments

CSSQuake

https://cssquake.com/
427•msalsas•11h ago•89 comments

Show HN: StartupWiki – A Free Alternative to Crunchbase

https://startupwiki.tech/
125•shpran•6h ago•35 comments

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

https://github.com/overflowy/make-look-scanned
63•overflowy•4h ago•30 comments

Supermarket giant Tesco sues VMware for breach of contract

https://www.theregister.com/software/2025/09/03/supermarket-giant-tesco-sues-vmware-for-breach-of...
35•wglb•1h ago•5 comments

Bun has an open PR adding shared-memory threads to JavaScriptCore

https://github.com/oven-sh/WebKit/pull/249
94•gr4vityWall•5h ago•147 comments

The rise of South Korea’s weapons business

https://www.politico.com/news/magazine/2026/06/20/south-korea-weapons-dealer-trump-00959559
84•JumpCrisscross•10h ago•30 comments

Temporary Cloudflare accounts for AI agents

https://blog.cloudflare.com/temporary-accounts/
137•farhadhf•11h ago•86 comments

Linux Eliminates the Strncpy API After Six Years of Work, 360 Patches

https://www.phoronix.com/news/Linux-7.2-Drops-strncpy
51•simonpure•1h ago•17 comments

Why has the pointe shoe been so resistant to change?

https://dancemagazine.com/pointe-shoe-innovation/
41•onemind•21h ago•41 comments

Coding a Brick Tower [video]

https://www.youtube.com/watch?v=DAMiS2PGTEE
8•tobr•1d ago•0 comments

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

https://mitchivin.com/
38•mitchivin•3h ago•17 comments

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

https://github.com/confh/Tiny
20•confis•3h ago•5 comments

Tesla allegedly in autopilot mode crashes into Texas house, woman killed

https://abcnews.com/US/tesla-allegedly-autopilot-mode-crashes-texas-house-woman/story?id=134062374
12•malshe•25m ago•0 comments

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

https://www.argusred.com/cli
56•dk189•8h ago•27 comments

Systemd 261 released with systemd-sysinstall, IMDSD, and storagectl

https://www.phoronix.com/news/systemd-261
13•logickkk1•49m ago•1 comments

Show HN: Microcrad – Micrograd Reimplemented in C

https://github.com/oraziorillo/microcrad
58•oraziorillo•3d ago•20 comments

AMD will reinstate memory encryption on Ryzen 9000 CPUs via BIOS update in July

https://www.tomshardware.com/pc-components/cpus/amd-will-reinstate-memory-encryption-on-ryzen-900...
97•roboror•3h ago•25 comments

Show HN: Ember, a native iOS Hacker News reader I built around accessibility

https://github.com/DatanoiseTV/ember-hackernews
80•sylwester•5h ago•17 comments

The ability to regrow body parts is dormant in mammals, not lost

https://www.sciencedaily.com/releases/2026/06/260617032207.htm
123•nryoo•5h ago•43 comments

Now You Don't: When Espionage Meets Magic

https://www.politicshome.com/news/article/now-dont-espionage-meets-magic
21•thinkingemote•3d ago•3 comments

Vacation With An Artist – Mini-Apprenticeships with Artists in Their Studios

https://vawaa.com/
60•karakoram•7h ago•11 comments