Reputation: 5063
I've converted hello world
to QR Barcode image but my question is about getting the text back.
I mean if I sent that image to my friend, then is there any way that my friend get it back to text without using mobile reader/barcode reader machine .etc. so is there any PHP function can do this?!
If not then is there any idea I can convert text to encoded image then with PHP function whatever! I can get it back to text?!
Upvotes: 9
Views: 68572
Reputation: 71
I use the ZBar bar code reader on linux (there's also a Windows and an iPhone binary), which can scan them using any supported video in device or a number of file formats (e.g., directly from PDF). It's also useful if you want to script the QR code processing.
E.g.,
$ zbarimg https://i.sstatic.net/pQV0s.png
QR-Code:hello world
Upvotes: 7
Reputation: 14304
There are several web based QR decoders. Your friend can just upload the image and the service will tell her what the code says.
One of the most popular is ZXing - http://zxing.org/w/decode.jspx
There are also others at
http://www.onlinebarcodereader.com/
http://www.patrick-wied.at/static/qrgen/
Upvotes: 17