cyphar / paperback

Paper backup generator suitable for long-term storage.
GNU General Public License v3.0
1.09k stars 40 forks source link

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

Open timothyhilton opened 8 months ago

timothyhilton commented 8 months ago

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 commented 8 months ago

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.

wy16W2pIilK1xgqN commented 2 weeks ago

I recommend keeping the current QR code density. I just tested some low-quality printers, cameras, and QR code decoding programs.

The current QR code density is already wrong, so it is better to keep it as it is for long-term reliability.


PS: I don't understand English, this uses Microsoft Translator, I hope you understand.