Eyedropper reports "nan" or inaccurate color
Adobe Illustrator version 29.7.1.
When picking a color with the eye dropper from a 2x2 raster image copied and pasted from Photoshop, on certain sub-pixel positions the eye dropper will return a "nan" color, and will fill all of its preview color windows to black. That, or it will be wildly inaccurate.
Attached a screenshot and the .ai file.
-
Pierre Charpentier commented
@Egor
It doesn't change when I'm in CPU preview mode, it samples exactly the same janky way. -
It turns out the Eyedropper samples the filtered image. At some GPUs the image gets rendered interpolated (look at the screenshot), and these intermediate shades is what is getting picked — even though the image can look 'crisp'! Does it change when you toggle View > Preview on CPU?
Anyway, the bug is not new it seems... CS6 does the same thing (with Shift held).
Should be fixed, but at the moment I can offer to use Object > Create Object Mosaic to convert the images into a set of vector squares. Then these get sampled as expected. -
Failed to get NaN, but the precision is indeed super inaccurate.