{"action":"created","issue":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/2216","labels_url":"https://api.github.com/repos/spyder-ide/spyder/issues/2216/labels{/name}","comments_url":"https://api.github.com/repos/spyder-ide/spyder/issues/2216/comments","events_url":"https://api.github.com/repos/spyder-ide/spyder/issues/2216/events","html_url":"https://github.com/spyder-ide/spyder/pull/2216","id":59395306,"number":2216,"title":"fix broken png files: libpng 1.6.2 and newer has stricter iCCP rules","user":{"login":"davidovitch","id":2007257,"avatar_url":"https://avatars.githubusercontent.com/u/2007257?v=3","gravatar_id":"","url":"https://api.github.com/users/davidovitch","html_url":"https://github.com/davidovitch","followers_url":"https://api.github.com/users/davidovitch/followers","following_url":"https://api.github.com/users/davidovitch/following{/other_user}","gists_url":"https://api.github.com/users/davidovitch/gists{/gist_id}","starred_url":"https://api.github.com/users/davidovitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidovitch/subscriptions","organizations_url":"https://api.github.com/users/davidovitch/orgs","repos_url":"https://api.github.com/users/davidovitch/repos","events_url":"https://api.github.com/users/davidovitch/events{/privacy}","received_events_url":"https://api.github.com/users/davidovitch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/Spyder-Gui","name":"Spyder-Gui","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/spyder-ide/spyder/milestones/5","html_url":"https://github.com/spyder-ide/spyder/milestones/v2.4","labels_url":"https://api.github.com/repos/spyder-ide/spyder/milestones/5/labels","id":982077,"number":5,"title":"v2.4","description":null,"creator":{"login":"spyder-issues-migrator","id":11021581,"avatar_url":"https://avatars.githubusercontent.com/u/11021581?v=3","gravatar_id":"","url":"https://api.github.com/users/spyder-issues-migrator","html_url":"https://github.com/spyder-issues-migrator","followers_url":"https://api.github.com/users/spyder-issues-migrator/followers","following_url":"https://api.github.com/users/spyder-issues-migrator/following{/other_user}","gists_url":"https://api.github.com/users/spyder-issues-migrator/gists{/gist_id}","starred_url":"https://api.github.com/users/spyder-issues-migrator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spyder-issues-migrator/subscriptions","organizations_url":"https://api.github.com/users/spyder-issues-migrator/orgs","repos_url":"https://api.github.com/users/spyder-issues-migrator/repos","events_url":"https://api.github.com/users/spyder-issues-migrator/events{/privacy}","received_events_url":"https://api.github.com/users/spyder-issues-migrator/received_events","type":"User","site_admin":false},"open_issues":205,"closed_issues":18,"state":"open","created_at":"2015-02-16T23:17:23Z","updated_at":"2015-03-03T22:11:02Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-03-01T13:08:03Z","updated_at":"2015-03-04T07:46:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/spyder-ide/spyder/pulls/2216","html_url":"https://github.com/spyder-ide/spyder/pull/2216","diff_url":"https://github.com/spyder-ide/spyder/pull/2216.diff","patch_url":"https://github.com/spyder-ide/spyder/pull/2216.patch"},"body":"I am running on Arch Linux with libpng 1.6.16, and for a long time I have had the following error being spit out to the shell when running spyder from the command line:\r\n```\r\nlibpng warning: iCCP: known incorrect sRGB profile\r\n```\r\n\r\nI never bothered to look into it, spyder just worked fine, until I wanted to figure it out today. Seems this is related broken *.png files used by spyder. The fix is trivial, and I found the same answer both at [stackoverflow](http://stackoverflow.com/questions/22745076/libpng-warning-iccp-known-incorrect-srgb-profile) and [tex.stackexchange](http://tex.stackexchange.com/questions/125612/warning-pdflatex-libpng-warning-iccp-known-incorrect-srgb-profile):\r\n```\r\n# fix all png files in the current directory (and sub-dirs) using ImageMagick:\r\nfind . -type f -name \"*.png\" -exec convert {} -strip {} \\;\r\n```\r\n\r\nThe libpng warning dissapeared after the *.png file conversion for me. I have not tested these new *.png files with libpng versions prior to 1.6.2 (the version that is alleged to have stricter iCCP checkings)."},"comment":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/comments/77110322","html_url":"https://github.com/spyder-ide/spyder/pull/2216#issuecomment-77110322","issue_url":"https://api.github.com/repos/spyder-ide/spyder/issues/2216","id":77110322,"user":{"login":"davidovitch","id":2007257,"avatar_url":"https://avatars.githubusercontent.com/u/2007257?v=3","gravatar_id":"","url":"https://api.github.com/users/davidovitch","html_url":"https://github.com/davidovitch","followers_url":"https://api.github.com/users/davidovitch/followers","following_url":"https://api.github.com/users/davidovitch/following{/other_user}","gists_url":"https://api.github.com/users/davidovitch/gists{/gist_id}","starred_url":"https://api.github.com/users/davidovitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidovitch/subscriptions","organizations_url":"https://api.github.com/users/davidovitch/orgs","repos_url":"https://api.github.com/users/davidovitch/repos","events_url":"https://api.github.com/users/davidovitch/events{/privacy}","received_events_url":"https://api.github.com/users/davidovitch/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T07:46:14Z","updated_at":"2015-03-04T07:46:14Z","body":"I'll can try to test it on my system with different versions of libpng. What I will not be able to test is how this might affect the Windows and Mac environments. I would expect no problems since strictly speaking the png files should be cleaner at this stage compared to before. But I agree, better safe then sorry :-)"}}