How-to guides

Error fixes

Each one reproduces the error on a real Pillow install, explains the cause and shows the fix.

More short fixes are in the searchable error index, and browser tools that generate working code are on the tools page.

How these guides are made

Every code example is executed against Pillow 12.3.0 on Python 3.13 before publishing, and the printed output and images on each page come from that run. Version history is checked against Pillow's official release notes. Read more about our editorial process.