Received the same issue. In my case, it helped to convert the image from RGBA to RGB.
This can be done, for example, using the Imagemagick convert utility:
# Okay, your icon is in RGBA
$ file logo.png
logo.png: PNG image data, 150 x 150, 8-bit/color RGBA, non-interlaced
# Convert it
$ convert logo.png +matte logo-rgb.png
# And it in RGB
$ file logo-rgb.png
logo-rgb.png: PNG image data, 150 x 150, 8-bit colormap, non-interlaced
source
share