Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 0 additions & 74 deletions .github/ISSUE_TEMPLATE/ISSUE_REPORT.md

This file was deleted.

96 changes: 96 additions & 0 deletions .github/ISSUE_TEMPLATE/ISSUE_REPORT.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
name: Issue report
description: Create a report to help us improve Pillow
body:
- type: dropdown
id: origin
attributes:
label: Origin
description: Why are you reporting this?
options:

@aclark4life aclark4life Dec 3, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree, although I'd suggest something like:

  • AI found this while I was working on a project that requires Pillow
  • AI found this because I asked AI to find issues in Pillow because Pillow is a popular Python library
  • I found it by myself without AI because I'm old school.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting. You're suggesting that AI might be working on a project, and decide that based on the needs of the project, that Pillow should be modified? I wouldn't have imagined that AI had the long-term perspective one needs to desire an improvement after the next Pillow release.

I've updated the options, although a bit more concisely.

@aclark4life aclark4life Dec 4, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The AI user has the long term perspective when using AI to process images and happens to find a bug (just like without AI) but the user using AI just to use AI will likely not have any long term perspective beyond "my AI found this because I told it to look for bugs." So it's the same case you've been referencing: we want to fix things people actually encounter during normal usage and if they happen to be using AI to do that, fine. If they set out to find problems with AI for the sake of using AI, no thanks: we don't need 500 issues and PRs full of random correctness fixes every day for the next two years.

- AI found this because I asked it to find issues
- AI found this while I was using Pillow
- I found it myself (without AI) while looking at source code or docs
- I found it myself (without AI) while using Pillow
validations:
required: true
- type: textarea
id: description
attributes:
label: Add a description
value: |
<!--
Thank you for reporting an issue.

Follow these guidelines to ensure your issue is handled properly.

If you have a ...

1. General question: consider asking the question on Stack Overflow
with the python-imaging-library tag:

* https://stackoverflow.com/questions/tagged/python-imaging-library

Do not ask a question in both places.

If you think you have found a bug or have an unexplained exception
then file a bug report here.

2. Bug report: include a self-contained, copy-pastable example that
generates the issue if possible. Be concise with code posted.
Guidelines on how to provide a good bug report:

* https://stackoverflow.com/help/mcve

Bug reports which follow these guidelines are easier to diagnose,
and are often handled much more quickly.

3. Feature request: do a quick search of existing issues
to make sure this has not been asked before.

We know asking good questions takes effort, and we appreciate your time.
Thank you.
-->

### What did you do?

### What did you expect to happen?

### What actually happened?

### What are your OS, Python and Pillow versions?

* OS:
* Python:
* Pillow:

<!-- Remove if this issue was not initiated by AI -->
### AI-generated
My issue was generated by AI, as disclosed below:
- AI Tools: `[e.g. GitHub CoPilot, ChatGPT, JetBrains Junie etc.]`
- LLMs and versions: `[e.g. GPT-4.1, Claude Haiku 4.5, Gemini 2.5 Pro etc.]`
- Prompts: `[Summarize the key prompts or instructions given to the AI tools]`

```text
Please paste here the output of running:

python3 -m PIL.report
or
python3 -m PIL --report

Or the output of the following Python code:

from PIL import report
# or
from PIL import features
features.pilinfo(supported_formats=False)
```

<!--
Please include **code** that reproduces the issue and whenever possible, an **image** that demonstrates the issue. Please upload images to GitHub, not to third-party file hosting sites. If necessary, add the image to a zip or tar archive.

The best reproductions are self-contained scripts with minimal dependencies. If you are using a framework such as Plone, Django, or Buildout, try to replicate the issue just using Pillow.
-->

```python
code goes here
```
14 changes: 13 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
Fixes # .
Origin:

A) Fixes existing issue #
B) AI found a possible change because I asked it do so
C) AI found a possible change while I was using Pillow
D) Addresses a scenario I found (without AI) when looking at source code or docs
E) Addresses a scenario I found (without AI) while using Pillow

<!-- Remove if this contribution does not include any AI-generated content -->
My contribution includes AI-generated content, as disclosed below:
- AI Tools: `[e.g. GitHub CoPilot, ChatGPT, JetBrains Junie etc.]`
- LLMs and versions: `[e.g. GPT-4.1, Claude Haiku 4.5, Gemini 2.5 Pro etc.]`
- Prompts: `[Summarize the key prompts or instructions given to the AI tools]`

Changes proposed in this pull request:

Expand Down
Loading