Skip to content

Alpha premultiplication handling on image loading/saving #156

@jpbruyere

Description

@jpbruyere

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...

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions