MCPcopy
hub / github.com/python-pillow/Pillow

github.com/python-pillow/Pillow @12.3.0 sqlite

repository ↗ · DeepWiki ↗ · release 12.3.0 ↗
4,177 symbols 18,831 edges 297 files 583 documented · 14%
README
<img width="248" height="250" src="https://raw.githubusercontent.com/python-pillow/pillow-logo/main/pillow-logo-248x250.png" alt="Pillow logo">

Pillow

Python Imaging Library (Fork)

Pillow is the friendly PIL fork by Jeffrey 'Alex' Clark and contributors. PIL is the Python Imaging Library by Fredrik Lundh and contributors. Development is supported by: - Tidelift (since 2018) - Thanks.dev (since 2023) - GitHub Sponsors (since 2026)

docs Documentation Status
tests GitHub Actions build status (Lint) GitHub Actions build status (Test Linux and macOS) GitHub Actions build status (Test Windows) GitHub Actions build status (Test MinGW) GitHub Actions build status (Test Docker) GitHub Actions build status (Wheels) Code coverage Fuzzing Status
package Zenodo Tidelift Newest PyPI version Number of PyPI downloads OpenSSF Best Practices
social Join the chat at https://gitter.im/python-pillow/Pillow Follow on https://fosstodon.org/@pillow

Overview

The Python Imaging Library adds image processing capabilities to your Python interpreter.

This library provides extensive file format support, an efficient internal representation, and fairly powerful image processing capabilities.

The core image library is designed for fast access to data stored in a few basic pixel formats. It should provide a solid foundation for a general image processing tool.

More information

Report a vulnerability

To report sensitive vulnerability information, report it privately on GitHub.

If you cannot use GitHub, use the Tidelift security contact. Tidelift will coordinate the fix and disclosure.

DO NOT report sensitive vulnerability information in public.

Core symbols most depended-on inside this repo

new
called by 685
src/PIL/_util.py
hopper
called by 479
Tests/helper.py
get
called by 390
setup.py
getpixel
called by 371
src/PIL/Image.py
convert
called by 348
src/PIL/Image.py
seek
called by 338
src/PIL/Image.py
read
called by 242
src/PIL/_typing.py
assert_image_equal
called by 216
Tests/helper.py

Shape

Function 2,120
Method 1,722
Class 331
Route 4

Languages

Python100%
TypeScript1%

Modules by API surface

src/PIL/Image.py175 symbols
src/PIL/TiffImagePlugin.py104 symbols
Tests/test_imagedraw.py101 symbols
Tests/test_file_libtiff.py98 symbols
Tests/test_image.py97 symbols
Tests/test_file_gif.py96 symbols
Tests/test_file_jpeg.py89 symbols
Tests/test_file_tiff.py87 symbols
Tests/test_file_avif.py86 symbols
Tests/test_imagefont.py76 symbols
src/PIL/PngImagePlugin.py73 symbols
src/PIL/PdfParser.py71 symbols

For agents

$ claude mcp add Pillow \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact