FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

If height is being scaled down, but not width, resize vertically first by radarhere · Pull Request #9549 · python-pillow/Pillow · GitHub

If height is being scaled down, but not width, resize vertically first - #9549

Open
radarhere wants to merge 2 commits into
python-pillow:mainfrom
radarhere:resize
Open

If height is being scaled down, but not width, resize vertically first#9549
radarhere wants to merge 2 commits into
python-pillow:mainfrom
radarhere:resize

Conversation

Copy link
Copy Markdown
Member

Refining #9524, applying a solution in C, rather than Python

akx commented Aug 16, 2026
edited
Loading

Copy link
Copy Markdown
Contributor

This should probably be rebased so it runs the benchmarks from #9832.

Copy link
Copy Markdown
Member Author

I merged main in, and Benchmark passed, but I don't know how if/how much the improvement is.

akx commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

According to CodSpeed, ~4% faster, so could be measurement noise and as such unreported.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL