QR Code Generator
π Project Overview:
Project Title: QR Code Generator
Instructor: Dr. Prateek Raj Gautam
Submitted By: Vikash Kumar Singh
SAP ID: 590014667
π Project Description:
π Description:
qrcodegenrator is a Python-based project that allows users to generate QR codes for any input data. It utilizes popular Python libraries like qrcode and Pillow to create and save QR codes as image files.
β¨ Key Features:
- QR Code Generation: Create QR codes for URLs, text, or any other data.
- Customizable Size: Users can adjust the size of the generated QR code.
- Downloadable QR Codes: Allows users to save the generated QR codes as image files.
- Real-time Preview: Users can view the generated QR code before saving or sharing.
π How to Use:
- Run the Application:
To launch the application, open a terminal or command prompt and run the Python file:
python QRCodeGenerator.py
-
Input the Data:
Enter the data (such as a URL or text) into the provided input field that you want to encode into a QR code.
-
Set QR Code Size:
Choose the desired size for the QR code using the adjustable slider or input field.
-
Generate QR Code:
Click the Generate QR Code button to create the QR code.
-
Save the QR Code:
Once the QR code is generated, you can save it to your computer by clicking the Save QR Code button.
- Preview the QR Code:
The generated QR code will appear in the window, allowing you to confirm its content before saving.
π Libraries Used:
- Tkinter: Used for creating the graphical user interface (GUI).
- qrcode: A Python library used to generate QR codes from input data.
- Pillow: Used for handling image files to display or save QR codes.
π‘ Additional Notes:
- This application allows you to create QR codes for any type of text or URL, which can be scanned easily with a mobile device.
- The QR codeβs size and data content can be customized according to user needs.
- You can save the generated QR code as an image file (PNG or JPEG format), making it easy to share or print.