You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made an image with only one color and no partially transparent tiles. When I get the list of all colors through code, I get one color. When I use the eyedropper on a color picker to get the same color, the color is different. For example, using a color of 23674e gets me (0.1373, 0.4039, 0.3059, 1) as the color from the image data, and (0.1367, 0.4023, 0.3047, 1) as the color from the color picker eyedropper. This is not close enough for Color.is_equal_approx to count it as the same color.
Steps to reproduce
Make an image
Get an array of colors from the image via the Image class
Get a color from the image via the Color Picker eyedropper
Godot version
4.1
System information
Godot v4.1.stable - Windows 10.0.22621 - Vulkan (Forward+) - integrated Intel(R) Iris(R) Xe Graphics (Intel Corporation; 30.0.101.1660) - 12th Gen Intel(R) Core(TM) i7-1260P (16 Threads)
Issue description
I made an image with only one color and no partially transparent tiles. When I get the list of all colors through code, I get one color. When I use the eyedropper on a color picker to get the same color, the color is different. For example, using a color of 23674e gets me (0.1373, 0.4039, 0.3059, 1) as the color from the image data, and (0.1367, 0.4023, 0.3047, 1) as the color from the color picker eyedropper. This is not close enough for
Color.is_equal_approx
to count it as the same color.Steps to reproduce
Minimal reproduction project
test.zip
The text was updated successfully, but these errors were encountered: