libpng warning: iCCP: cHRM chunk does not match sRGB

1 #include <opencv2/opencv.hpp>
2 using namespace cv;
3 int main() {
4     Mat img = imread("D:/test/1.jpg");
5     imshow("ff",img);
6     waitKey(0);
7     return 0;
8 }

出现以下错误:
libpng warning: iCCP: cHRM chunk does not match sRGB


解决:
若电脑使用的是QQ输入法,请替换成别的输入法。

原文地址:https://www.cnblogs.com/ybqjymy/p/12876958.html