Skip to main content

2 posts tagged with "pillow"

pillow tag description

View All Tags

Fixing PIL/Pillow IOError: decoder zip not available

· 4 min read
Serhii Hrekov
Senior Software Engineer & System Architect specializing in Python, Web Systems, Cloud Infrastructure & Automation

The error IOError: decoder zip not available (or zip decoder not available) is a common hurdle when working with image processing in Python, particularly when handling PNG or TIFF files using the Pillow library.

This error indicates that the underlying C library responsible for image compression (Zlib) was missing or not detected when Pillow was compiled on your system.

QR Codes in Python: The Complete Developer Guide to Generation and Decoding

· 9 min read
Serhii Hrekov
Senior Software Engineer & System Architect specializing in Python, Web Systems, Cloud Infrastructure & Automation

Quick Response (QR) codes are two-dimensional matrix barcodes widely used for encoding URLs, text, contact information, and authentication tokens. Integrating QR code generation and decoding into Python applications is straightforward using robust libraries like qrcode, pyzbar, and Pillow.

This guide details how to generate basic QR codes, apply custom styles and colors, embed brand logos safely, output print-ready vector formats (SVG), host large files like PDFs via encoded links, and decode QR code images (including NumPy video streams).