{"action":"closed","issue":{"url":"https://api.github.com/repos/lvillani/android-cropimage/issues/45","labels_url":"https://api.github.com/repos/lvillani/android-cropimage/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/lvillani/android-cropimage/issues/45/comments","events_url":"https://api.github.com/repos/lvillani/android-cropimage/issues/45/events","html_url":"https://github.com/lvillani/android-cropimage/issues/45","id":89048300,"number":45,"title":"Set Bitmap not working","user":{"login":"dogo","id":1487375,"avatar_url":"https://avatars.githubusercontent.com/u/1487375?v=3","gravatar_id":"","url":"https://api.github.com/users/dogo","html_url":"https://github.com/dogo","followers_url":"https://api.github.com/users/dogo/followers","following_url":"https://api.github.com/users/dogo/following{/other_user}","gists_url":"https://api.github.com/users/dogo/gists{/gist_id}","starred_url":"https://api.github.com/users/dogo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dogo/subscriptions","organizations_url":"https://api.github.com/users/dogo/orgs","repos_url":"https://api.github.com/users/dogo/repos","events_url":"https://api.github.com/users/dogo/events{/privacy}","received_events_url":"https://api.github.com/users/dogo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-17T15:24:21Z","updated_at":"2015-06-17T16:10:51Z","closed_at":"2015-06-17T16:10:51Z","body":"I'm trying to show my photo with correct orientation, the photo was taken from ACTION_IMAGE_CAPTURE .\r\n\r\nWhen I use setSourceImage method all works fine, the crop activity is displayed (photo with wrong orientation )\r\n\r\nWhen I use setBitmap method the crop activity is never called.\r\n\r\nI'm doing something wrong ? \r\nRotate my image before then show is the correct way to show images properly when the image came from ACTION_IMAGE_CAPTURE ?\r\n\r\nthanks\r\n\r\n``` Java\r\n\r\nCropImageIntentBuilder cropImage = new CropImageIntentBuilder(2, 1, 1280, 720, croppedImageUri);\r\ncropImage.setOutlineColor(0xFF03A9F4);\r\n\r\n//Works fine\r\nUri photoUri = Uri.parse(\"file://\" + mCurrentPhotoPath);\r\ncropImage.setSourceImage(photoUri);\r\n//\r\n\r\n//Don't work\r\nBitmap myBitmap = BitmapFactory.decodeFile(mCurrentPhotoPath);\r\nBitmap orientedBitmap = ExifUtil.rotateBitmap(mCurrentPhotoPath, myBitmap);\r\ncropImage.setBitmap(orientedBitmap);\r\n//\r\n\r\nstartActivityForResult(cropImage.getIntent(this), REQUEST_CROP_PICTURE);\r\n```"}}