this post was submitted on 07 May 2022
16 points (100.0% liked)

Asklemmy

43939 readers
474 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS
 

Is there anything similar to a QR code that works offline?

Say I have a flyer that I want to discreetly distribute and there is no internet.

Is there something like a QR code that contains the data itself and not just a URL?

This way someone with no data plan could scan the icon/code with an app and the unrecognizable bits and bytes from the icon/code would show up on their screen as a .JPEG of a flyer or something.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] liwott@nerdica.net 7 points 2 years ago (1 children)

I didn't know there was an actual limit to the size of a QR code, but as we see a big problem with (raster) images is that the QR code rapidly becomes much more complex than the image itself

[โ€“] southerntofu@lemmy.ml 6 points 2 years ago (2 children)

Vector images can be a good fit though! If you can fit a URL in there, a SVG could fit in too :)

[โ€“] liwott@nerdica.net 4 points 2 years ago (1 children)

I agreed a priori, which, as you probably guessed, is exactly why I put that parenthesis ๐Ÿ˜€ But I think in practice the starting point already is too complex. For example, I opened inkscape and saved the empty image, the result is already more than 1KB. Similarly, Lemmy's very simple logo is already 3KB.

[โ€“] southerntofu@lemmy.ml 5 points 2 years ago (1 children)

SVGs can be minified after edition, but of course nothing will beat hand-crafted SVGs...

[โ€“] liwott@nerdica.net 2 points 2 years ago

Thanks for the clarification ! This indeed makes the code readable, although way more complex than the original logo. Also, not everyone has an app able to read that svg on their smartphone

[โ€“] Amicchan@lemmy.ml 4 points 2 years ago

Yep. It's another advantage of Vector Graphics.