Error message I cant get rid off

so when loading QPixmap objects sometimes I load a image that throws me the message
“fromIccProfile: failed minimal tag size sanity”
how do I load a image and solve this ICC complaint ? I was looking for this and the help I find is really not helping yet.

I even tried doing this

qimage = QImageReader( image_path ).read()
qimage.setColorSpace( srgb )
qimage.convertToColorSpace( QColorSpace.sRGB() )
qimage.convertTo( QImage.Format_RGBA8888, Qt.ColorOnly )
qpixmap = QPixmap().fromImage( qimage )