Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

212rikanmofo

macrumors 68000
Original poster
Jan 31, 2003
1,906
729
Does anyone know how I can generate a QR code on an iPhone? Let's say I have a series of numbers and I would like to generate a QR code for thsoe numbers. How would I do sio? Is there a shortcut that will allow me to do this fast and quickly?
 
Well, what I actually want to do is be able to generate a QR code from a picture. Since iOS is able to detect text in images. It would be great if I can just highlight the text or section I want, and then be able to select an option to creare a QR Code from it. Is this possible?
 
You can do this with Shortcuts if you're familiar with creating those. There's a 'Generate QR Code' action you can use. Have the shortcut accept text as input, pass the input into the 'Generate QR Code' action, and do whatever else you want it to do (save it, send it, etc). Then set the shortcut to show in the Share Sheet. Now you can select the text in the image (or anywhere else) -> Share... -> select your shortcut to create the QR code.

To be even fancier... You could use the 'Extract Text from Image' action. Pass the image into the shortcut, extract the text, parse it out if needed, and run it through the 'Generate QR Code' action.
 
Okay for example, I have taken a picture of a package label, and on it, are many areas of text. I just want a specific section to be used or passed on to the Generate QR shortcut. Do you know exactly how I would create that shortcut?

I just want the shortcut to be able to generate a qr code from a particular section of a label and generate a code and display the picture on screen. That's it. Nothing else.
 
Shortcut would look like this:
1726774070618.png


Or use this link to add the one I just created:

After creating/adding it, select the text in the image > Share... > Generate QR Code from Text.
 
Last edited:
  • Like
Reactions: 212rikanmofo
I found something today and remembered this thread. Sharing it, just in case: https://www.uniqode.com/qr-code-generator/for-image (to be honest, I didn't quite understand the shortcut instructions back when I was reading, so perhaps this can help people like me figure out how to make QR codes for pictures)
Maybe you already know this, but just to clear it up...QR codes cannot contain the picture themselves, nor can you encode a picture as a QR code. They're just links to a picture hosted online somewhere, such as that site if you upload your picture there.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.