This repository contains a simple yet effective Python script for generating QR codes. It demonstrates two methods: a quick, default generation for a URL, and a more customized approach to create a colored QR code with specific settings (version, error correction, box size, and border).
- Simple Generation: Quickly create a basic black-and-white QR code.
- Custom Generation: Control parameters like:
version: The size and data capacity of the QR code.error_correction: The capacity for error recovery (ERROR_CORRECT_His high).box_size: How many pixels each box of the QR code is.border: The thickness of the quiet border.fill_colorandback_color: Custom colors for the QR code.
You'll need Python installed, and the following libraries:
pip install qrcode Pillow