{"action":"opened","issue":{"url":"https://api.github.com/repos/kaksmet/jpeg-decoder/issues/43","repository_url":"https://api.github.com/repos/kaksmet/jpeg-decoder","labels_url":"https://api.github.com/repos/kaksmet/jpeg-decoder/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/kaksmet/jpeg-decoder/issues/43/comments","events_url":"https://api.github.com/repos/kaksmet/jpeg-decoder/issues/43/events","html_url":"https://github.com/kaksmet/jpeg-decoder/issues/43","id":164933946,"number":43,"title":"Decoding fails on most images from Sony Ericsson P990i","user":{"login":"kaj","id":358770,"avatar_url":"https://avatars.githubusercontent.com/u/358770?v=3","gravatar_id":"","url":"https://api.github.com/users/kaj","html_url":"https://github.com/kaj","followers_url":"https://api.github.com/users/kaj/followers","following_url":"https://api.github.com/users/kaj/following{/other_user}","gists_url":"https://api.github.com/users/kaj/gists{/gist_id}","starred_url":"https://api.github.com/users/kaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaj/subscriptions","organizations_url":"https://api.github.com/users/kaj/orgs","repos_url":"https://api.github.com/users/kaj/repos","events_url":"https://api.github.com/users/kaj/events{/privacy}","received_events_url":"https://api.github.com/users/kaj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-11T21:03:36Z","updated_at":"2016-07-11T21:03:36Z","closed_at":null,"body":"I have a bunch of pictures from an old smartphone, the Sony Ericsson P990i, which jpeg-decoder fails to decode most of (some are decoded without problem, but most fail with a `Format(\"did not find marker where expected\")` error.\r\n\r\nI don't  know enough about decoding jpegs to know if these images are actually broken according to the standard, but many other programs (e.g. gimp and eog) reads them just fine.  I'm afraid I also don't know enough about jpeg decoding to be any real help in finding the actual problem, but at least I've forked to https://github.com/kaj/jpeg-decoder and added a failing jpeg and a png copy of it (created with gimp) in a branch.\r\n\r\nTo reproduce:\r\n\r\n    git clone git@github.com:kaj/jpeg-decoder.git\r\n    cd jpeg-decoder\r\n    git checkout failing-p990\r\n    cargo test\r\n\r\n(The image sonyericsson-p990i.jpg is by me and hereby released as CC0)"}}
{"actor":{"display_login":"kaj"}}