Last updated: 2026-10-15
Using this site
You may read, link to and share pages from this site. Please do not republish whole articles or reproduce the site's design.
Code examples
Code examples on this site may be copied, modified and used in your own projects, commercial or not, without attribution. They are provided as is, without warranty of any kind.
Accuracy
We test our examples (see how), but software changes. Check the official Pillow documentation for authoritative behaviour, and test code before using it in production.
Liability
To the extent permitted by law, we are not liable for any loss arising from use of this site, its code examples or its tools.
Third-party sites and trademarks
Links to other websites are provided for convenience; we are not responsible for their content. Pillow, Python and other names belong to their respective owners and are used here only to identify the software discussed.