Better HN
topnewbestaskshowjobs
Log inSign up

seedgou

378 karma · joined Oct 27, 2021 (5y ago) · 15 submissions

<github.com/rwv>
Submissions

1.

Show HN: Generate your authentic and realistic Chinese name(chinesename.app ↗)

5 points · by seedgou · 1y ago · 1 comment

comment 4y ago · link · parent

Oh! You mean the scanning speed. I thought you was talking about the original PDF preview. For now, scanning is using emscriptened ImageMagick Wasm. Due to the translation from C++ to Wasm, the scanning speed is very slow. Maybe re-writing blur, rotate and noise algorithm will speed up the scanning.

comment 4y ago · link · parent

The rendering logic is in `src/utils/pdf/renderPage.ts` and has only 26 lines.

comment 4y ago · link · parent

The site's logic is nearly identical to this gist: use ImageMagick to do the rotate, noise, etc.

comment 4y ago · link · parent

GitHub URL: https://github.com/rwv/lookscanned.io

comment 4y ago · link · parent

Good idea! A random distribution on rotation seems a more user-friendly way instead of setting 10 rotation values.

comment 4y ago · link · parent

I didn't manipulate the data in pixel level. Maybe because I render PDF in 2x which causes 4x more pixels?

comment 4y ago · link · parent

There's an example PDF after clicking "START SCANNING" button. Maybe add more real-world examples.

comment 4y ago · link · parent

This is inspired by baicunko/scanyourpdf and previous HN link: https://news.ycombinator.com/item?id=23157408

comment 4y ago · link · parent

Use PDF.js and magica to do the rendering and processing. You could see the credits in GitHub repo page.

11.

Show HN: Make your PDF look scanned in browser(lookscanned.io ↗)

579 points · by seedgou · 4y ago · 177 comments

12.

Show HN: Find Mac Apps that could be replaced with Mac App Store version(github.com ↗)

2 points · by seedgou · 4y ago · discuss