About libpng warning: iCCP: known incorrect sRGB profile error resolution

About libpng warning: iCCP: known incorrect sRGB profile error resolution

Insert picture description here
I recently encountered this warning when I was learning pygame and running the code. In Qt, if you use certain formats of png images, you may get an error libpng warning: iCCP: known incorrect sRGB profile. Although it has no effect, it is very annoying to see this warning. . I searched the Internet, and this warning seems to be related to the png image format. It is caused by what is embedded in the png. Although it does not affect the operation of the program, it is very inconvenient when debugging. I have found a solution for a long time on the Internet.Finally found that switching the input method can be solved, remember! Do not use Sogou and QQ input method to run, This problem will not occur, the pro-test is effective! ! !

Guess you like

Origin blog.csdn.net/ws306173697/article/details/106579958