I can across this problem after printscreening a website with a gradient background and initially was shocked to find that the background was showing those black pixels and thought something might be wrong with my GPU so I decided to investigate a little and found out that the image's bit depth was 24 and photoshop was opening it in 8bit mode (maybe because photoshop doesn't have a 24bit mode?) I was wondering how come when I save the image in 8bit mode it doesn't show those black pixels in programs like windows photo viewer and paint? why are they showing only in photoshop? shouldn't photoshop find comparable colors to fill in instead of black?
just wanted to add that when I change the mode to 32bit those black pixels disappear. also when sampling those black spots with the eyedrop I am getting the correct color.
this is the image I was speaking about:
and here's what I am seeing: