PC & IT SUPPORT MADE EASY FORUM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Repairing QR Codes On Linux

Go down

Repairing QR Codes On Linux Empty Repairing QR Codes On Linux

Post by jamied_uk 8th August 2016, 12:52




Code:
#!/bin/bash
# Usage ./Repaire.sh "QR_Code_Damaged.jpg"
#
myvar="$@"
# zbarimg *.png* > out.txt # or jpg file!
# zbarimg *.jpg* > out.txt # or png file!
#
zbarimg "$myvar" > out.txt # or png file!
cat out.txt
#
#out.txt
myvar2=$( cat out.txt )
qrencode -o code.png "$myvar2"
zbarimg code.png > out.txt
cat out.txt



Code:
sudo apt-get install -y qtqr

Code:
qtqr


qtqr is a gui based and needs installing


Or use script

./Repaire_GUI.sh "file.ext"



Update Code


Update Code Link
app.box.com/s/ufkymw4s91x7lta7jy0z249zuoeluu9v
jamied_uk
jamied_uk
Admin

Posts : 3053
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum