I use a black background colour, and this problem appears for me with PNG images where black is on a transparent background. I'm on 26.2.90 on Windows 10, with the relevant image support (no ImageMagick though). See the attached screenshots of https://www.gnu.org/software/emacs/ (one with a black background showing the problem, and one with a white background to contrast).