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