{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/6984","repository_url":"https://api.github.com/repos/mozilla/pdf.js","labels_url":"https://api.github.com/repos/mozilla/pdf.js/issues/6984/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/pdf.js/issues/6984/comments","events_url":"https://api.github.com/repos/mozilla/pdf.js/issues/6984/events","html_url":"https://github.com/mozilla/pdf.js/pull/6984","id":133430608,"number":6984,"title":"Don't take the fast-path in `PDFImage_createImageData` for unmasked JPEG images with `DeviceGray` ColorSpaces","user":{"login":"Snuffleupagus","id":2692120,"avatar_url":"https://avatars.githubusercontent.com/u/2692120?v=3","gravatar_id":"","url":"https://api.github.com/users/Snuffleupagus","html_url":"https://github.com/Snuffleupagus","followers_url":"https://api.github.com/users/Snuffleupagus/followers","following_url":"https://api.github.com/users/Snuffleupagus/following{/other_user}","gists_url":"https://api.github.com/users/Snuffleupagus/gists{/gist_id}","starred_url":"https://api.github.com/users/Snuffleupagus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Snuffleupagus/subscriptions","organizations_url":"https://api.github.com/users/Snuffleupagus/orgs","repos_url":"https://api.github.com/users/Snuffleupagus/repos","events_url":"https://api.github.com/users/Snuffleupagus/events{/privacy}","received_events_url":"https://api.github.com/users/Snuffleupagus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/pdf.js/labels/4-image-conversion","name":"4-image-conversion","color":"DDDDDD"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-13T13:05:50Z","updated_at":"2016-02-13T13:07:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mozilla/pdf.js/pulls/6984","html_url":"https://github.com/mozilla/pdf.js/pull/6984","diff_url":"https://github.com/mozilla/pdf.js/pull/6984.diff","patch_url":"https://github.com/mozilla/pdf.js/pull/6984.patch"},"body":"*A more robust solution for issue #6066.*\r\n\r\nAs a temporary work-around for (the upstream) [bug 1164199](https://bugzilla.mozilla.org/show_bug.cgi?id=1164199), we parsed *all* images in the Firefox addon during a short time.\r\nDoing so uncovered an issue with our image handling (see #6066), for JPEG images with a `DeviceGray` ColorSpace *and* `bpc !== 1` (bits per component).\r\n\r\nAs long as we let the browser handle image decoding in this case, this isn't going to be an issue, but I do think that we should proactively fix this to avoid future issues if we change where the images are decoded (in `jpg.js` vs in browser).\r\nAlso, we currently don't seem to have a test-case for that kind of image data."},"comment":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/comments/183662352","html_url":"https://github.com/mozilla/pdf.js/pull/6984#issuecomment-183662352","issue_url":"https://api.github.com/repos/mozilla/pdf.js/issues/6984","id":183662352,"user":{"login":"pdfjsbot","id":1036361,"avatar_url":"https://avatars.githubusercontent.com/u/1036361?v=3","gravatar_id":"","url":"https://api.github.com/users/pdfjsbot","html_url":"https://github.com/pdfjsbot","followers_url":"https://api.github.com/users/pdfjsbot/followers","following_url":"https://api.github.com/users/pdfjsbot/following{/other_user}","gists_url":"https://api.github.com/users/pdfjsbot/gists{/gist_id}","starred_url":"https://api.github.com/users/pdfjsbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdfjsbot/subscriptions","organizations_url":"https://api.github.com/users/pdfjsbot/orgs","repos_url":"https://api.github.com/users/pdfjsbot/repos","events_url":"https://api.github.com/users/pdfjsbot/events{/privacy}","received_events_url":"https://api.github.com/users/pdfjsbot/received_events","type":"User","site_admin":false},"created_at":"2016-02-13T13:07:12Z","updated_at":"2016-02-13T13:07:12Z","body":"#### From: Bot.io (Windows)\n\n----\n\n# Received\n\nCommand **cmd_test** from @Snuffleupagus received. Current queue size: 0\n\nLive output at: http://107.22.172.223:8877/03c240f23393c15/output.txt"}}