{"action":"created","issue":{"url":"https://api.github.com/repos/davemorrissey/subsampling-scale-image-view/issues/227","repository_url":"https://api.github.com/repos/davemorrissey/subsampling-scale-image-view","labels_url":"https://api.github.com/repos/davemorrissey/subsampling-scale-image-view/issues/227/labels{/name}","comments_url":"https://api.github.com/repos/davemorrissey/subsampling-scale-image-view/issues/227/comments","events_url":"https://api.github.com/repos/davemorrissey/subsampling-scale-image-view/issues/227/events","html_url":"https://github.com/davemorrissey/subsampling-scale-image-view/issues/227","id":166529082,"number":227,"title":"getExifOrientation does not work for some Uris","user":{"login":"JonasPrap","id":10437061,"avatar_url":"https://avatars.githubusercontent.com/u/10437061?v=3","gravatar_id":"","url":"https://api.github.com/users/JonasPrap","html_url":"https://github.com/JonasPrap","followers_url":"https://api.github.com/users/JonasPrap/followers","following_url":"https://api.github.com/users/JonasPrap/following{/other_user}","gists_url":"https://api.github.com/users/JonasPrap/gists{/gist_id}","starred_url":"https://api.github.com/users/JonasPrap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JonasPrap/subscriptions","organizations_url":"https://api.github.com/users/JonasPrap/orgs","repos_url":"https://api.github.com/users/JonasPrap/repos","events_url":"https://api.github.com/users/JonasPrap/events{/privacy}","received_events_url":"https://api.github.com/users/JonasPrap/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-20T08:42:11Z","updated_at":"2016-07-20T12:51:08Z","closed_at":null,"body":"My source Uri for image file is:\r\n\r\n`file:/storage/emulated/0/Android/data/com.***/files/private-pictures/JPEG_20160720_113440_54943315.jpg`\r\n\r\nBut it does not get orientation because of this code in library: \r\n\r\n`if(sourceUri.startsWith(\"file:///\") && !sourceUri.startsWith(\"file:///android_asset/\"))`\r\n\r\n\r\nNotice the additional // used in the if statement.\r\n\r\n\r\nI constructed the Uri by using this:\r\n`imageViewTouch.setImage(ImageSource.uri(Uri.parse(file.toURI().toString())));`"},"comment":{"url":"https://api.github.com/repos/davemorrissey/subsampling-scale-image-view/issues/comments/233939460","html_url":"https://github.com/davemorrissey/subsampling-scale-image-view/issues/227#issuecomment-233939460","issue_url":"https://api.github.com/repos/davemorrissey/subsampling-scale-image-view/issues/227","id":233939460,"user":{"login":"ShreyashPromact","id":8598335,"avatar_url":"https://avatars.githubusercontent.com/u/8598335?v=3","gravatar_id":"","url":"https://api.github.com/users/ShreyashPromact","html_url":"https://github.com/ShreyashPromact","followers_url":"https://api.github.com/users/ShreyashPromact/followers","following_url":"https://api.github.com/users/ShreyashPromact/following{/other_user}","gists_url":"https://api.github.com/users/ShreyashPromact/gists{/gist_id}","starred_url":"https://api.github.com/users/ShreyashPromact/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShreyashPromact/subscriptions","organizations_url":"https://api.github.com/users/ShreyashPromact/orgs","repos_url":"https://api.github.com/users/ShreyashPromact/repos","events_url":"https://api.github.com/users/ShreyashPromact/events{/privacy}","received_events_url":"https://api.github.com/users/ShreyashPromact/received_events","type":"User","site_admin":false},"created_at":"2016-07-20T12:51:08Z","updated_at":"2016-07-20T12:51:08Z","body":"@JonasPrap \r\n\r\nAny idea if I want to load image from url and then apply scale effect as like this library?\r\n\r\nSincerely,\r\nShreyash"}}
{"actor":{"display_login":"ShreyashPromact"}}