Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IMAGE_QUALITY_BOX_AVERAGE is broken #2323

Open
AtlasHackert opened this issue Dec 24, 2022 · 0 comments
Open

IMAGE_QUALITY_BOX_AVERAGE is broken #2323

AtlasHackert opened this issue Dec 24, 2022 · 0 comments

Comments

@AtlasHackert
Copy link

Operating system: Windows 10, x64
wxPython version & source: 4.2.1a1 (build artifact from 24 Dec 2022)
Python version & source: 3.11.1 from official website

Description of the problem:
When I Rescale a wx.Image using wx.IMAGE_QUALITY_HIGH, sometimes the image disappears (= becomes fully black). I think this happens when it's downsizing. When I specify wx.IMAGE_QUALITY_BOX_AVERAGE, it always disappears. I suspect wx.IMAGE_QUALITY_HIGH picks wx.IMAGE_QUALITY_BOX_AVERAGE when downsizing, and that wx.IMAGE_QUALITY_BOX_AVERAGE is broken.

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

No branches or pull requests

1 participant