{"action":"created","issue":{"url":"https://api.github.com/repos/commonsguy/cwac-cam2/issues/241","repository_url":"https://api.github.com/repos/commonsguy/cwac-cam2","labels_url":"https://api.github.com/repos/commonsguy/cwac-cam2/issues/241/labels{/name}","comments_url":"https://api.github.com/repos/commonsguy/cwac-cam2/issues/241/comments","events_url":"https://api.github.com/repos/commonsguy/cwac-cam2/issues/241/events","html_url":"https://github.com/commonsguy/cwac-cam2/issues/241","id":166322324,"number":241,"title":"Image preview/Image rotated 90 degrees when using PORTRAIT FFF","user":{"login":"shahzadyounas","id":11029128,"avatar_url":"https://avatars.githubusercontent.com/u/11029128?v=3","gravatar_id":"","url":"https://api.github.com/users/shahzadyounas","html_url":"https://github.com/shahzadyounas","followers_url":"https://api.github.com/users/shahzadyounas/followers","following_url":"https://api.github.com/users/shahzadyounas/following{/other_user}","gists_url":"https://api.github.com/users/shahzadyounas/gists{/gist_id}","starred_url":"https://api.github.com/users/shahzadyounas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahzadyounas/subscriptions","organizations_url":"https://api.github.com/users/shahzadyounas/orgs","repos_url":"https://api.github.com/users/shahzadyounas/repos","events_url":"https://api.github.com/users/shahzadyounas/events{/privacy}","received_events_url":"https://api.github.com/users/shahzadyounas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/commonsguy/cwac-cam2/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-07-19T12:46:26Z","updated_at":"2016-10-13T09:52:27Z","closed_at":"2016-08-12T17:37:46Z","body":"![screenshot_2016-07-19-13-42-46](https://cloud.githubusercontent.com/assets/11029128/16950209/f3eb4454-4db6-11e6-8aa6-f56d13cc5ff1.png)\r\n\r\nI am on the latest version 0.6.4 - however still seeing this issue on Galaxy S4 Mini and Lenovo TAB S8-50F . My app requires use of the front facing camera only in portrait mode:\r\n\r\n```\r\n Intent i=new CameraActivity.IntentBuilder(RegistrationStage_5.this)\r\n                        .facing(Facing.FRONT)\r\n                        .facingExactMatch()\r\n                        .to(new File(getExternalCacheDir(), \"portrait-front.jpg\"))\r\n                        .orientationLockMode(OrientationLockMode.PORTRAIT)\r\n                        .zoomStyle(ZoomStyle.NONE)\r\n                        .updateMediaStore()\r\n                        .build();\r\n\r\n                startActivityForResult(i,  REQUEST_PORTRAIT_FFC);\r\n```\r\nHowever in emulator, and samsung S4 mini and Lenovo Tablet all previews are rotated 90degrees?\r\n\r\nSamsung BUILD.PRODUCT: serranoltexx (Samsung S4 Mini CyangenMod)\r\nLenovo BUILD.PRODUCT: S8-50F\r\n\r\nAlso Emulator 23 shows same issue.\r\n\r\nHave tried with orientation lock removed but makes no difference."},"comment":{"url":"https://api.github.com/repos/commonsguy/cwac-cam2/issues/comments/253468201","html_url":"https://github.com/commonsguy/cwac-cam2/issues/241#issuecomment-253468201","issue_url":"https://api.github.com/repos/commonsguy/cwac-cam2/issues/241","id":253468201,"user":{"login":"IzzySoft","id":6781438,"avatar_url":"https://avatars.githubusercontent.com/u/6781438?v=3","gravatar_id":"","url":"https://api.github.com/users/IzzySoft","html_url":"https://github.com/IzzySoft","followers_url":"https://api.github.com/users/IzzySoft/followers","following_url":"https://api.github.com/users/IzzySoft/following{/other_user}","gists_url":"https://api.github.com/users/IzzySoft/gists{/gist_id}","starred_url":"https://api.github.com/users/IzzySoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IzzySoft/subscriptions","organizations_url":"https://api.github.com/users/IzzySoft/orgs","repos_url":"https://api.github.com/users/IzzySoft/repos","events_url":"https://api.github.com/users/IzzySoft/events{/privacy}","received_events_url":"https://api.github.com/users/IzzySoft/received_events","type":"User","site_admin":false},"created_at":"2016-10-13T09:52:27Z","updated_at":"2016-10-13T09:52:27Z","body":"Sorry for hijacking this (only temporarily I hope), but as this is about image rotation and you, @commonsguy explicitly mention your \"focus is on devices like the Wileyfox Swift\": I'm no dev, so I'm not using your API. But I've noticed that all camera apps I've tried (including the stock camera shipping with the Swift) always set \"Orientation:0\" and instead rotate the image itself – which really is a big annoyance to me (I never had any device or camera doing that). Do you have any clue on how I (as an end-user) can fix that? Thanks a lot in advance for any hints!"}}
{"actor":{"display_login":"IzzySoft"}}