{"action":"created","issue":{"url":"https://api.github.com/repos/Itseez/opencv/issues/5871","labels_url":"https://api.github.com/repos/Itseez/opencv/issues/5871/labels{/name}","comments_url":"https://api.github.com/repos/Itseez/opencv/issues/5871/comments","events_url":"https://api.github.com/repos/Itseez/opencv/issues/5871/events","html_url":"https://github.com/Itseez/opencv/issues/5871","id":123743837,"number":5871,"title":"Opencv3.0.0‘s bug of  imread function","user":{"login":"DengPingFan","id":16174941,"avatar_url":"https://avatars.githubusercontent.com/u/16174941?v=3","gravatar_id":"","url":"https://api.github.com/users/DengPingFan","html_url":"https://github.com/DengPingFan","followers_url":"https://api.github.com/users/DengPingFan/followers","following_url":"https://api.github.com/users/DengPingFan/following{/other_user}","gists_url":"https://api.github.com/users/DengPingFan/gists{/gist_id}","starred_url":"https://api.github.com/users/DengPingFan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DengPingFan/subscriptions","organizations_url":"https://api.github.com/users/DengPingFan/orgs","repos_url":"https://api.github.com/users/DengPingFan/repos","events_url":"https://api.github.com/users/DengPingFan/events{/privacy}","received_events_url":"https://api.github.com/users/DengPingFan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Itseez/opencv/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/Itseez/opencv/labels/category:%20highgui-images","name":"category: highgui-images","color":"ededed"},{"url":"https://api.github.com/repos/Itseez/opencv/labels/wontfix","name":"wontfix","color":"202020"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-24T01:30:53Z","updated_at":"2015-12-25T12:13:28Z","closed_at":null,"body":"My platform is windows 64bit,visual stdio 2013,i am using the opencv2.4.11 and opencv3.0.0 \r\n\r\nto test the imread function.And I have find that use the opencv3.0.0 to read *.jpg\r\n\r\nimage file will produce the different result with use the opencv2.4.11.I guess maybe  the opencv3.0.0\r\n\r\nimread() function's decompression has wrong.\r\n![differentresult](https://cloud.githubusercontent.com/assets/16174941/11987817/e7b0a696-aa20-11e5-85f8-8f72c3708b72.png)\r\n[imreadBug.zip](https://github.com/Itseez/opencv/files/71366/imreadBug.zip)\r\n\r\n\r\n\r\n\r\n \r\n"},"comment":{"url":"https://api.github.com/repos/Itseez/opencv/issues/comments/167225903","html_url":"https://github.com/Itseez/opencv/issues/5871#issuecomment-167225903","issue_url":"https://api.github.com/repos/Itseez/opencv/issues/5871","id":167225903,"user":{"login":"alalek","id":4981219,"avatar_url":"https://avatars.githubusercontent.com/u/4981219?v=3","gravatar_id":"","url":"https://api.github.com/users/alalek","html_url":"https://github.com/alalek","followers_url":"https://api.github.com/users/alalek/followers","following_url":"https://api.github.com/users/alalek/following{/other_user}","gists_url":"https://api.github.com/users/alalek/gists{/gist_id}","starred_url":"https://api.github.com/users/alalek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alalek/subscriptions","organizations_url":"https://api.github.com/users/alalek/orgs","repos_url":"https://api.github.com/users/alalek/repos","events_url":"https://api.github.com/users/alalek/events{/privacy}","received_events_url":"https://api.github.com/users/alalek/received_events","type":"User","site_admin":false},"created_at":"2015-12-25T12:13:28Z","updated_at":"2015-12-25T12:13:28Z","body":"@Dikay900 Philip, you are possible right (I'm able to reproduce problem with JPEG replacement only, PNG library is system in my case).\r\nTo minimize sources of problems it is prefered to use other ways to dump Mat values (instead of imwrite), like cv::FileStorage or simple dump to stdout (std::cout << img << std::endl);"}}