A simple Tkinter GUI app to:
- Extract Qr code content from an image
- Save it as a
.jsonfile - Generate a new QR code from that content and save it as an SVG
- It can convert multiple types of Qr Code Image into Qr Code SVG
- ☑️ Json QR Code Image to SVG
- ☑️ Plain text QR Code Image to SVG
- ☑️ URLs (links) QR Code Image to SVG
- ☑️ Email addresses QR Code Image to SVG
- ☑️ vCards or contact info QR Code Image to SVG
- ☑️ Any decodable string Image to SVG
-
Python 3.8 or newer
-
The following Python libraries:
- pyzbar
- qrcode
- pillow
- tkinter
- Note:
tkinteris built into Python (Windows/macOS), no need to install it separately.
-
Step-1 : Open Command Prompt
-
Step-2 : Write the following command
pip install pyzbar qrcode pillow
-
Or you can Run this command if you open your command prompt in same directory as the requirements.txt file:-
pip install -r requirements.txt
- Run the app using:
python main.py - It Prompts you to select a QR code image
- Extracts and saves the content as
{filename}_content.json - Generates a new QR code SVG:
{filename}_qr.svg
{your-image-name}_content.json{your-image-name}_qr.svg
QR-Image-to-SVG/
├── qr_image_to_svg.py #-- My script
├── icon.ico #-- Project Icon
├── README.md #-- Project description & instructions
├── requirements.txt #-- Dependency list
├── LICENSE #-- Project LICENSE agreement
├── dist/
│ └── qr_image_to_svg.exe #-- Released Executable File
│
└── assets
├── guide_on_build_executable.md #-- My Guide to build (exe)
├──dlls
│ ├── libiconv.dll #-- Required file for the exe build
│ └── libzbar-64.dll #-- Required file for the exe build
│
└──Icons
├── icon.ico #-- Project Icon in (ico) format
└── icon.svg #-- Project Icon in (svg) format- Check out the license agrement file in the project directiory - This Project is currently using MIT License .
- Rights on the Project icon
icon.icoandicon.svgare Reserved.