rwv / lookscanned.io

📚 LookScanned.io - Make your PDFs look scanned
https://lookscanned.io
MIT License
2.53k stars 182 forks source link

Make paper look recycled yellowish #222

Open TheMinefighter opened 1 week ago

TheMinefighter commented 1 week ago

Using +level-colors ,'rgb(242,226,202)' one could make the paper look like non-bleached recycled paper, optionally with an intensity slider (linearly transforming above values to 255 each). What do you think of that? I think this would help the authenticity of the results a lot EDIT: Optimized numbers

rwv commented 1 week ago

Can you provide an example? Thank you!

TheMinefighter commented 1 week ago

Of course: this is my one-page example Example-Original.pdf This is it after going through lookscanned Example-scan.pdf And this is it after adding the suggested effect Example-scan-tinted.pdf It looks like a piece of non-bleach recycling paper that has been sitting around somewhere.

As a default I would suggest a strength of 50% of this effect, looking like that: Example-scan-less_tinted.pdf

Although I don't have much experience in TS I might be able to implement that myself

ajimix commented 1 day ago

I'm also interested in this

ajimix commented 1 day ago

@TheMinefighter I've implemented it in #225

I used fill combined with colorize, which gave me better results after several tests. Let's hope someone can merge it so everyone can enjoy