Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add file size limit of a sheet of paper to README.md #31

Open
timothyhilton opened this issue Nov 14, 2023 · 1 comment
Open

Add file size limit of a sheet of paper to README.md #31

timothyhilton opened this issue Nov 14, 2023 · 1 comment

Comments

@timothyhilton
Copy link

Just thought it would be a really common thing for someone to be skimming through the readme to find how much data they could store on one sheet of paper in order to judge if they would like to use paperback or not. Statements like "as most users won't need more than 50 sheets" aren't nearly as helpful as for example, "you can store ~12kb of data on one sheet."

@cyphar
Copy link
Owner

cyphar commented Nov 29, 2023

Good point.

For reference, at the moment one sheet contains 9 QR codes, each storing ~1kB so it's ~8-9kB per sheet at the moment (with the caveat that I haven't gotten around to writing code to generate multi-page PDFs yet).

In theory, you can store up to ~4kB in a single QR code, but in my testing the surface area we use for each QR code is not large enough for a 4kB QR code to work reliably (not to mention that the QR code might get damaged over time). I suspect 2kB is the most we can reasonably do, so ~18kB per page at most.

We also don't compress the data at the moment. With compression you can probably store even larger plain-text documents.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants