{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/mozjpeg/issues/191","labels_url":"https://api.github.com/repos/mozilla/mozjpeg/issues/191/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/mozjpeg/issues/191/comments","events_url":"https://api.github.com/repos/mozilla/mozjpeg/issues/191/events","html_url":"https://github.com/mozilla/mozjpeg/issues/191","id":119095926,"number":191,"title":"Input PNG images with ICC profiles don't account for colour profile","user":{"login":"njdoyle","id":316852,"avatar_url":"https://avatars.githubusercontent.com/u/316852?v=3","gravatar_id":"","url":"https://api.github.com/users/njdoyle","html_url":"https://github.com/njdoyle","followers_url":"https://api.github.com/users/njdoyle/followers","following_url":"https://api.github.com/users/njdoyle/following{/other_user}","gists_url":"https://api.github.com/users/njdoyle/gists{/gist_id}","starred_url":"https://api.github.com/users/njdoyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/njdoyle/subscriptions","organizations_url":"https://api.github.com/users/njdoyle/orgs","repos_url":"https://api.github.com/users/njdoyle/repos","events_url":"https://api.github.com/users/njdoyle/events{/privacy}","received_events_url":"https://api.github.com/users/njdoyle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-26T19:42:21Z","updated_at":"2015-11-27T14:02:37Z","closed_at":null,"body":"If a PNG image is used as an input to `cjpeg` and that PNG image has an attached ICC profile, that profile will be stripped and the output JPEG will have incorrect colour."},"comment":{"url":"https://api.github.com/repos/mozilla/mozjpeg/issues/comments/160145833","html_url":"https://github.com/mozilla/mozjpeg/issues/191#issuecomment-160145833","issue_url":"https://api.github.com/repos/mozilla/mozjpeg/issues/191","id":160145833,"user":{"login":"njdoyle","id":316852,"avatar_url":"https://avatars.githubusercontent.com/u/316852?v=3","gravatar_id":"","url":"https://api.github.com/users/njdoyle","html_url":"https://github.com/njdoyle","followers_url":"https://api.github.com/users/njdoyle/followers","following_url":"https://api.github.com/users/njdoyle/following{/other_user}","gists_url":"https://api.github.com/users/njdoyle/gists{/gist_id}","starred_url":"https://api.github.com/users/njdoyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/njdoyle/subscriptions","organizations_url":"https://api.github.com/users/njdoyle/orgs","repos_url":"https://api.github.com/users/njdoyle/repos","events_url":"https://api.github.com/users/njdoyle/events{/privacy}","received_events_url":"https://api.github.com/users/njdoyle/received_events","type":"User","site_admin":false},"created_at":"2015-11-27T14:02:37Z","updated_at":"2015-11-27T14:02:37Z","body":"It's only out of scope as much as producing output images that reflect the input images is out of scope. Mozjpeg says it supports PNG input and attached ICC profiles are part of the PNG standard. ICC profiles must be considered important image data because the image can not be displayed properly without it. Possible options are to say mozjpeg only supports input of a subset of the PNG standard (unfortunate considering the number of PNG images with attached profiles), or support this common part of the PNG standard by either attaching the ICC profile to the output JPEG (what currently happens with input JPEGs with attached ICC profiles) or to do the colour conversion to sRGB."}}