545
QR code rule (lemmy.dbzer0.com)
submitted 3 months ago by probableprotogen@lemmy.dbzer0.com to c/196
you are viewing a single comment's thread
view the rest of the comments
[-] SteveTech@programming.dev 37 points 3 months ago* (last edited 3 months ago)

For those wondering, when using the biggest QR code with the maximum error correction (10,208 bytes), 1,454,942 QR codes is slightly less than 14GiB, which should be more than enough for a Windows ISO.

My math: (1454942×10208)÷1024÷1024÷1024≈13.83

Edit: Damn another guy beat me to it, now I wonder how I'm so far off.

[-] anton 6 points 3 months ago

Because the other comment had a ~~useless~~ counterproductive step in it, namely base64.

[-] SteveTech@programming.dev 5 points 3 months ago* (last edited 3 months ago)

Maybe, but also I think I was looking at the raw 'data bits', not 'binary' data. It's actually almost exactly 4GiB, even when dropping down to minimum error correction (1.7 GiB otherwise).

(1454942×2953)÷1024÷1024÷1024≈4.00

Edit: So if alphanumeric mode could store lowercase letters, base64 would've stored more.

this post was submitted on 27 Aug 2024
545 points (100.0% liked)

196

16624 readers
2346 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 2 years ago
MODERATORS