glutin_window icon indicating copy to clipboard operation
glutin_window copied to clipboard

All colors darkened after updating to 0.71.0

Open juniperparsnips opened this issue 3 years ago • 0 comments

I manually created a grayscale gradient from black to white using the following code. Using version 0.70.1 it appeared as expected, however after updating to 0.71.0 it appeared as a quadratic gradient. The same effect also occurs when using full color and images.

Using 0.70.1

linear-greyscale-0-70-1

Using 0.71.0 ![linear-greyscale-0-71-0](https://user-images.githubusercontent.com/44325548/232172513-c09d7213-3280-492d-bf82-052aa5d50bd2.png)

I've uploaded the source code I used to generate these images here

In my troubleshooting so far, this effect is almost exactly an image editing "Multiply" effect, and values of each box are essentially the brightness squared.

Two layers of the above 0.70.1 image merged with photoshop's multiply effect ![70-1--multiply--70-1](https://user-images.githubusercontent.com/44325548/232173723-cd020edd-43b2-4531-a72e-2d5d0eed1f3a.png)
Output vs. Input brightness ![brightness effect](https://user-images.githubusercontent.com/44325548/232174089-e2ecdd95-80e6-4e98-a3c3-5cd17a316c8d.png)

juniperparsnips avatar Apr 15 '23 00:04 juniperparsnips