Skip to content

AmanLakhuja/QR-Image-to-SVG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧾 QR Code Image To SVG Generator - (QR-Image-to-SVG) ICON

A simple Tkinter GUI app to:

  • Extract Qr code content from an image
  • Save it as a .json file
  • Generate a new QR code from that content and save it as an SVG

Features

  • 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

📦 Requirements & Dependencies

  1. Python 3.8 or newer

  2. The following Python libraries:

    • pyzbar
    • qrcode
    • pillow
    • tkinter
  • Note: tkinter is built into Python (Windows/macOS), no need to install it separately.

Install Required Libraries

  1. Step-1 : Open Command Prompt

  2. 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

▶️ How to Run

  1. Run the app using: python main.py
  2. It Prompts you to select a QR code image
  3. Extracts and saves the content as {filename}_content.json
  4. Generates a new QR code SVG: {filename}_qr.svg

📁 Output Files

  • {your-image-name}_content.json
  • {your-image-name}_qr.svg

Project ASCII Tree

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

👤 Created by Aman Lakhuja


License

  • Check out the license agrement file in the project directiory - This Project is currently using MIT License .
  • Rights on the Project icon icon.ico and icon.svg are Reserved.

Project Icon

ICON


About

It converts QR Code Image to an SVG format , It extract QR Code content from an Image then Save it as a `.json` file and then Generate a new QR code from that content and save it as an SVG

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages