r/iOSProgramming • u/_CrazyFairy007 • Oct 22 '24
Question Shortcut / creating QR code for photos
Heeellpp!
I am no expert on any encoding or whatsoever it is! 😂
I am trying to generate a QR code from a photo.
So tried to google and youtube but nothing, no tutorial 😭
So I made it to generate a code but whenever I scan the QR it proceeds to url error.
So what am I gonna do?? 😭
2
1
u/Oxigenic Oct 23 '24
I got one for you, make a shortcut that takes a screenshot so you can stop living in 1995 :)
1
1
u/No_Estimate385 Oct 23 '24
just curious: why would you want to share image using QR?
1
u/_CrazyFairy007 Oct 24 '24
Everything in webpage is a paid site or have to register. Not an option for me or will end end getting spam msgs on mail. I made images for multiple QR codes for receiving payment options. So this is now in jpeg/png form.
Since the client wanted to put 1 QR code on his business card wherein the multiple payments options are in there.
1
u/xhruso00 Oct 22 '24
Isn't it because the QR code points to the local disk and when you scan it with phone you cannot access the computer disk? If it's this easy -> your computer would have been hacked 300x.
Show us the QR code
1
1
u/NazarJailbreaker15 Beginner Oct 22 '24
You can use "Upload to Dropbox" action to upload image to the web, get it's URL and then generate QR code from that URL.
8
u/webtechmonkey Swift Oct 22 '24
This isn’t quite the subreddit for this type of thing.
But perhaps I can help a bit.
To confirm, you are trying to create a QR code with a link/url to a photo?
Without getting too technical, there’s no “simple” way to directly convert an image to a QR code. For the nerds reading this, technically you could convert to base 64 first then encode it within a QR code, but I don’t think that’s what Op wants