{"action":"created","issue":{"url":"https://api.github.com/repos/gogopop/CameraKit-Android/issues/36","repository_url":"https://api.github.com/repos/gogopop/CameraKit-Android","labels_url":"https://api.github.com/repos/gogopop/CameraKit-Android/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/gogopop/CameraKit-Android/issues/36/comments","events_url":"https://api.github.com/repos/gogopop/CameraKit-Android/issues/36/events","html_url":"https://github.com/gogopop/CameraKit-Android/issues/36","id":216322913,"number":36,"title":"Picture rotate on the Sumsung phone.","user":{"login":"Forsaken-sl","id":16002560,"avatar_url":"https://avatars0.githubusercontent.com/u/16002560?v=3","gravatar_id":"","url":"https://api.github.com/users/Forsaken-sl","html_url":"https://github.com/Forsaken-sl","followers_url":"https://api.github.com/users/Forsaken-sl/followers","following_url":"https://api.github.com/users/Forsaken-sl/following{/other_user}","gists_url":"https://api.github.com/users/Forsaken-sl/gists{/gist_id}","starred_url":"https://api.github.com/users/Forsaken-sl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Forsaken-sl/subscriptions","organizations_url":"https://api.github.com/users/Forsaken-sl/orgs","repos_url":"https://api.github.com/users/Forsaken-sl/repos","events_url":"https://api.github.com/users/Forsaken-sl/events{/privacy}","received_events_url":"https://api.github.com/users/Forsaken-sl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-03-23T06:52:00Z","updated_at":"2017-04-07T06:57:11Z","closed_at":null,"body":"Hi, this libs really helps a lot, thanks.\r\nBut the picture I take within the app, it will rotate -90 on Sumsung phones.\r\nAnd usully I can get the Exif info with the rotation, but I can't get the rotations with this libs, really confuse me..\r\nSo if you have time, please check this out?\r\nBy the way, the sumsung phone is SM-G900F  and Api 21"},"comment":{"url":"https://api.github.com/repos/gogopop/CameraKit-Android/issues/comments/292457308","html_url":"https://github.com/gogopop/CameraKit-Android/issues/36#issuecomment-292457308","issue_url":"https://api.github.com/repos/gogopop/CameraKit-Android/issues/36","id":292457308,"user":{"login":"canberkcakmak","id":11310539,"avatar_url":"https://avatars0.githubusercontent.com/u/11310539?v=3","gravatar_id":"","url":"https://api.github.com/users/canberkcakmak","html_url":"https://github.com/canberkcakmak","followers_url":"https://api.github.com/users/canberkcakmak/followers","following_url":"https://api.github.com/users/canberkcakmak/following{/other_user}","gists_url":"https://api.github.com/users/canberkcakmak/gists{/gist_id}","starred_url":"https://api.github.com/users/canberkcakmak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/canberkcakmak/subscriptions","organizations_url":"https://api.github.com/users/canberkcakmak/orgs","repos_url":"https://api.github.com/users/canberkcakmak/repos","events_url":"https://api.github.com/users/canberkcakmak/events{/privacy}","received_events_url":"https://api.github.com/users/canberkcakmak/received_events","type":"User","site_admin":false},"created_at":"2017-04-07T06:57:11Z","updated_at":"2017-04-07T06:57:11Z","body":"you have to get exif images then rotate image with this code. after save bitmap on taken picture. This is the best solution of rotated images.\r\n\r\n```\r\n        switch(orientation) {\r\n\r\n            case ExifInterface.ORIENTATION_ROTATE_90:\r\n                selectedBitmap =rotateImage(selectedBitmap, 90);\r\n                break;\r\n\r\n            case ExifInterface.ORIENTATION_ROTATE_180:\r\n                selectedBitmap =  rotateImage(selectedBitmap, 180);\r\n                break;\r\n\r\n            case ExifInterface.ORIENTATION_ROTATE_270:\r\n                selectedBitmap =  rotateImage(selectedBitmap, 270);\r\n                break;\r\n\r\n            case ExifInterface.ORIENTATION_NORMAL:\r\n                selectedBitmap =  rotateImage(selectedBitmap, 0);\r\n\r\n            default:\r\n                break;\r\n        }\r\n```"}}
{"actor":{"display_login":"canberkcakmak"}}