Dear all !
I know there are methods in our forums to get Text with scanning the QR code.
But,I want to make my picture into QR code, and after scanning the QR code, my picture comes out. How to do it?
Thank you !
QR-Code is limited in amount of bytes. Probably a bad idea to try to put an image there.
Your Image have to be bas64-encoded and put into QR-Code. After reading you have to Base64-Decode it to get the bytes from which you can create a Bitmap.
Upload the Image to your server, put the downloadurl of this image into the QR-Code and download the Image after you get the URL from the QR-Code.
QR-Code is limited in amount of bytes. Probably a bad idea to try to put an image there.
Your Image have to be bas64-encoded and put into QR-Code. After reading you have to Base64-Decode it to get the bytes from which you can create a Bitmap.
Upload the Image to your server, put the downloadurl of this image into the QR-Code and download the Image after you get the URL from the QR-Code.
See attached B4A project: 1. It takes an image (png or jpg) and convert it into a byte array 2. The byte array is converted into a Base64 String 3. The String is then converted into a QR Code (bitmap) 4. Use the QR Code bitmap and decodes it into a string (Base64) 5. Convert the Base64 string...
See attached B4A project: 1. It takes an image (png or jpg) and convert it into a byte array 2. The byte array is converted into a Base64 String 3. The String is then converted into a QR Code (bitmap) 4. Use the QR Code bitmap and decodes it into a string (Base64) 5. Convert the Base64 string...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.