Pillow是由Jeffrey A. Clark和贡献者创建的友好PIL分支。PIL是由Fredrik Lundh和贡献者开发的Python图像库。自2019年起,Pillow的开发得到了Tidelift的支持。
<table> <tr> <th>文档</th> <td> <a href="https://pillow.readthedocs.io/?badge=latest"><img alt="文档状态" src="https://readthedocs.org/projects/pillow/badge/?version=latest"></a> </td> </tr> <tr> <th>测试</th> <td> <a href="https://github.com/python-pillow/Pillow/actions/workflows/lint.yml"><img alt="GitHub Actions构建状态(Lint)" src="https://github.com/python-pillow/Pillow/workflows/Lint/badge.svg"></a> <a href="https://github.com/python-pillow/Pillow/actions/workflows/test.yml"><img alt="GitHub Actions构建状态(测试Linux和macOS)" src="https://github.com/python-pillow/Pillow/workflows/Test/badge.svg"></a> <a href="https://github.com/python-pillow/Pillow/actions/workflows/test-windows.yml"><img alt="GitHub Actions构建状态(测试Windows)" src="https://github.com/python-pillow/Pillow/workflows/Test%20Windows/badge.svg"></a> <a href="https://github.com/python-pillow/Pillow/actions/workflows/test-mingw.yml"><img alt="GitHub Actions构建状态(测试MinGW)" src="https://github.com/python-pillow/Pillow/workflows/Test%20MinGW/badge.svg"></a> <a href="https://github.com/python-pillow/Pillow/actions/workflows/test-cygwin.yml"><img alt="GitHub Actions构建状态(测试Cygwin)" src="https://github.com/python-pillow/Pillow/workflows/Test%20Cygwin/badge.svg"></a> <a href="https://github.com/python-pillow/Pillow/actions/workflows/test-docker.yml"><img alt="GitHub Actions构建状态(测试Docker)" src="https://github.com/python-pillow/Pillow/workflows/Test%20Docker/badge.svg"></a> <a href="https://ci.appveyor.com/project/python-pillow/Pillow"><img alt="AppVeyor CI构建状态(Windows)" src="https://img.shields.io/appveyor/build/python-pillow/Pillow/main.svg?label=Windows%20build"></a> <a href="https://github.com/python-pillow/Pillow/actions/workflows/wheels.yml"><img alt="GitHub Actions构建状态(Wheels)" src="https://github.com/python-pillow/Pillow/workflows/Wheels/badge.svg"></a> <a href="https://app.codecov.io/gh/python-pillow/Pillow"><img alt="代码覆盖率" src="https://codecov.io/gh/python-pillow/Pillow/branch/main/graph/badge.svg"></a> <a href="https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened&can=1&q=proj:pillow"><img alt="模糊测试状态" src="https://oss-fuzz-build-logs.storage.googleapis.com/badges/pillow.svg"></a> </td> </tr> <tr> <th>包</th> <td> <a href="https://zenodo.org/badge/latestdoi/17549/python-pillow/Pillow"><img alt="Zenodo" src="https://zenodo.org/badge/17549/python-pillow/Pillow.svg"></a> <a href="https://tidelift.com/subscription/pkg/pypi-pillow?utm_source=pypi-pillow&utm_medium=badge"><img alt="Tidelift" src="https://tidelift.com/badges/package/pypi/pillow?style=flat"></a> <a href="https://pypi.org/project/pillow/"><img alt="最新PyPI版本" src="https://img.shields.io/pypi/v/pillow.svg"></a> <a href="https://pypi.org/project/pillow/"><img alt="PyPI下载次数" src="https://img.shields.io/pypi/dm/pillow.svg"></a> <a href="https://www.bestpractices.dev/projects/6331"><img alt="OpenSSF最佳实践" src="https://www.bestpractices.dev/projects/6331/badge"></a> </td> </tr> <tr> <th>社交</th> <td> <a href="https://gitter.im/python-pillow/Pillow?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"><img alt="加入https://gitter.im/python-pillow/Pillow的聊天" src="https://badges.gitter.im/python-pillow/Pillow.svg"></a> <a href="https://fosstodon.org/@pillow"><img alt="在https://fosstodon.org/@pillow上关注" src="https://img.shields.io/badge/publish-on%20Mastodon-595aff.svg" rel="me"></a> </td> </tr> </table>Python图像库为您的Python解释器添加了图像处理功能。
这个库提供了广泛的文件格式支持、高效的内部表示以及相当强大的图像处理能力。
核心图像库设计用于快速访问存储在几种基本像素格式中的数据。它应该为通用图像处理工具提供坚实的基础。
要报告安全漏洞,请按照Tidelift安全策略中描述的程序进行操作。