Skip to content

Install Pillow so capture_view actually downscales - #7

Merged
Erfouni merged 1 commit into
mainfrom
fix/pillow-dependency
Sep 30, 2026
Merged

Erfouni merged 1 commit into
mainfrom
fix/pillow-dependency

Conversation

@Erfouni

@Erfouni Erfouni commented Sep 30, 2026

Copy link
Copy Markdown
Owner

capture_view downscales the plotted PNG with Pillow, as the README says, but Pillow wasn't in requirements.txt, so a fresh install sent every render at full plot size. This pins Pillow 12.3.0 (12.2.0 has a batch of open advisories) and adds a test that writes a large PNG without Pillow and checks it comes back 1100 px wide. The new tests fail with Pillow missing and pass with it; the full suite passes locally.

capture_view shrinks the plotted PNG with Pillow, as the README says, but
Pillow wasn't in requirements.txt, so a fresh install sent every render at
full plot size. Pin Pillow 12.3.0 (12.2.0 has open advisories) and add a test
that builds a PNG without Pillow and checks it comes back 1100 px wide.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Erfouni
Erfouni merged commit 851bf9f into main Sep 30, 2026
2 checks passed
@Erfouni
Erfouni deleted the fix/pillow-dependency branch September 30, 2026 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant