Skip to main content

4 posts tagged with "qr"

qr tag description

View All Tags

Generate QR code using a URL link

· 5 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

Generating a QR code for a PDF file is not a matter of embedding the entire file's data into the QR code. QR codes have a strict data limit (typically up to about 4,000 characters), which is far too small for most PDF documents 1.

The correct, industry-standard approach is to host the PDF online and encode the resulting direct URL into the QR code. When a user scans the code, their device opens the URL, which automatically downloads or displays the PDF.

Here is the guide for generating the QR code using a URL link.

QR code reader in Python

· 5 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

Python QR code reader from image or How to decode a QR-code image in python?

Decoding a QR code from an image in Python is primarily achieved using the pyzbar library, which reads various bar codes and QR codes 1, 2.

Create QR code generator with logo

· 6 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

How to create QR code generator with logo with Python

Creating a QR code generator with logo in Python is best done using the qrcode library, specifically its advanced image capabilities, combined with Pillow (PIL) for image handling. This guide provides two methods: a simple, modern approach and a manual, detailed approach.

QR code generator in Python

· 8 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

Creating a QR code generator in Python is remarkably straightforward, thanks to robust, community-maintained libraries. The most popular and simplest choice is the qrcode library. This article will focus on using this library to generate, customize, and save QR codes with minimal code.

Since there are multiple excellent libraries available for QR code generation in Python, I propose we focus this article on the simple and popular qrcode library, and then follow up with another article on the modern, standard-compliant segno library for advanced use cases (MicroQR codes, superior vector output, etc.).