{"action":"created","issue":{"url":"https://api.github.com/repos/WhisperSystems/TextSecure/issues/3752","labels_url":"https://api.github.com/repos/WhisperSystems/TextSecure/issues/3752/labels{/name}","comments_url":"https://api.github.com/repos/WhisperSystems/TextSecure/issues/3752/comments","events_url":"https://api.github.com/repos/WhisperSystems/TextSecure/issues/3752/events","html_url":"https://github.com/WhisperSystems/TextSecure/issues/3752","id":96510553,"number":3752,"title":"Image corruption when using direct capture","user":{"login":"jtracey","id":2998852,"avatar_url":"https://avatars.githubusercontent.com/u/2998852?v=3","gravatar_id":"","url":"https://api.github.com/users/jtracey","html_url":"https://github.com/jtracey","followers_url":"https://api.github.com/users/jtracey/followers","following_url":"https://api.github.com/users/jtracey/following{/other_user}","gists_url":"https://api.github.com/users/jtracey/gists{/gist_id}","starred_url":"https://api.github.com/users/jtracey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtracey/subscriptions","organizations_url":"https://api.github.com/users/jtracey/orgs","repos_url":"https://api.github.com/users/jtracey/repos","events_url":"https://api.github.com/users/jtracey/events{/privacy}","received_events_url":"https://api.github.com/users/jtracey/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/WhisperSystems/TextSecure/labels/direct%20capture","name":"direct capture","color":"c7def8"}],"state":"open","locked":false,"assignee":{"login":"mcginty","id":373823,"avatar_url":"https://avatars.githubusercontent.com/u/373823?v=3","gravatar_id":"","url":"https://api.github.com/users/mcginty","html_url":"https://github.com/mcginty","followers_url":"https://api.github.com/users/mcginty/followers","following_url":"https://api.github.com/users/mcginty/following{/other_user}","gists_url":"https://api.github.com/users/mcginty/gists{/gist_id}","starred_url":"https://api.github.com/users/mcginty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcginty/subscriptions","organizations_url":"https://api.github.com/users/mcginty/orgs","repos_url":"https://api.github.com/users/mcginty/repos","events_url":"https://api.github.com/users/mcginty/events{/privacy}","received_events_url":"https://api.github.com/users/mcginty/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2015-07-22T08:43:57Z","updated_at":"2015-08-26T08:37:38Z","closed_at":null,"body":"Whenever attempting to use the direct capture feature, after taking the picture, it shows up in the draft view (and in the sent picture) as noise. Whatever is going on is deterministic, as visually similar scenes create visually similar corrupted pictures, and visually different scenes create visually different images.\r\n\r\nThis is the draft of a picture of a grey wall:\r\n![garbage draft](https://cloud.githubusercontent.com/assets/2998852/8819195/b042331a-2ffe-11e5-9d11-106eafd9aea7.png)\r\nThis is after it's sent to myself (though this happens to any recipient):\r\n![garbage sent](https://cloud.githubusercontent.com/assets/2998852/8819204/ca1e4706-2ffe-11e5-9e2b-b688c6d4158b.png)\r\nThe loading-wheel-of-death is also probably a bug, but unrelated, and only happens when sending to myself, so not really a major concern.\r\nThe actual picture it sends:\r\n![textsecure-2015-07-21-225416](https://cloud.githubusercontent.com/assets/2998852/8819218/fd496a34-2ffe-11e5-8ccc-37b3268a3f20.jpeg)\r\nwhich is obviously a correctly formatted jpeg, it's the content that's wrong.\r\n\r\nHappens on TextSecure 2.23 and 2.23.1. I'm using a Samsung Galaxy S II running Cyanogenmod 11 (which is Android 4.4). Sending photos via attachment (both selecting a picture and the \"Take Photo\" feature) works fine.\r\n"},"comment":{"url":"https://api.github.com/repos/WhisperSystems/TextSecure/issues/comments/134898787","html_url":"https://github.com/WhisperSystems/TextSecure/issues/3752#issuecomment-134898787","issue_url":"https://api.github.com/repos/WhisperSystems/TextSecure/issues/3752","id":134898787,"user":{"login":"GAS85","id":6813635,"avatar_url":"https://avatars.githubusercontent.com/u/6813635?v=3","gravatar_id":"","url":"https://api.github.com/users/GAS85","html_url":"https://github.com/GAS85","followers_url":"https://api.github.com/users/GAS85/followers","following_url":"https://api.github.com/users/GAS85/following{/other_user}","gists_url":"https://api.github.com/users/GAS85/gists{/gist_id}","starred_url":"https://api.github.com/users/GAS85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GAS85/subscriptions","organizations_url":"https://api.github.com/users/GAS85/orgs","repos_url":"https://api.github.com/users/GAS85/repos","events_url":"https://api.github.com/users/GAS85/events{/privacy}","received_events_url":"https://api.github.com/users/GAS85/received_events","type":"User","site_admin":false},"created_at":"2015-08-26T08:37:38Z","updated_at":"2015-08-26T08:37:38Z","body":"The same here. Galaxy S3 LTE (i9305) Android 4.4.4.\r\n![textsec](https://cloud.githubusercontent.com/assets/6813635/9489055/743852d6-4bde-11e5-87d1-74beae7acb1d.png)\r\n"}}