flame icon indicating copy to clipboard operation
flame copied to clipboard

fix: Unmultiply before brightening

Open jtmcdole opened this issue 1 year ago • 0 comments

The image data read back is in a pre-multiplied state. Convert it back to straight alpha before brightening and then premultiply.

This just makes the colors go to white though: image

You could alternatively use the HSV color space and increase the Value (brightness); this would be more subtle and keep the colors correct.

image

jtmcdole avatar Dec 14 '24 21:12 jtmcdole