Skip to content

Alpha premultiplication handling on image loading/saving #156

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

Open
jpbruyere opened this issue Feb 28, 2025 · 0 comments
Open

Alpha premultiplication handling on image loading/saving #156

jpbruyere opened this issue Feb 28, 2025 · 0 comments

Comments

@jpbruyere
Copy link
Owner

jpbruyere commented Feb 28, 2025

If premult-alpha is enabled in compilation options, and an unpremult image is used, clipped painting of image could generate glitches. see: #155

This task should provide:

  • image alpha premult state detection on loading, or transformation/detection methods in surface api.
  • a loading/saving parameter for alpha handling.
  • for pixel transformations, compute shadder should be considered...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant