android-crop icon indicating copy to clipboard operation
android-crop copied to clipboard

Image Rotation

Open sweatapp opened this issue 9 years ago • 8 comments

I am getting an image rotation problem like many others are as well, what about just adding a rotate button to solve this problem. Just allow the user to rotate the image other than relying on the orientation in the file since it seems as if Samsung has dropped the ball on this issue.

sweatapp avatar Nov 03 '15 07:11 sweatapp

No,my problem is just me click the home or back button , then the screen is on the launcher.At this time ,back to the game ,the game was come back to the first page is not in palying state.

[email protected]

From: Carson Aberle Date: 2015-11-03 15:39 To: jdamcd/android-crop Subject: [android-crop] Image Rotation (#176) I am getting an image rotation problem like many others are as well, what about just adding a rotate button to solve this problem. Just allow the user to rotate the image other than relying on the orientation in the file since it seems as if Samsung has dropped the ball on this issue. — Reply to this email directly or view it on GitHub.

popboyking avatar Nov 03 '15 10:11 popboyking

Or at the VERY least expose the CropUtils class. These are generally useful utilities that should be public, not package-level visibility.

davidgoli avatar Nov 18 '15 03:11 davidgoli

how can I rotate image, but not rotate cropping tool. is it capable with your library?

developer-- avatar Jan 20 '16 11:01 developer--

ya, i notice this issue if i hold the phone in portrait, (height > width), the resultView will be rotated on some phones. e.g. Android 5.1.1 (Sony Xperia Z5) Not OK, Android 4.3 (HTC Butterfly) is OK.

resultView.setImageURI(Crop.getOutput(result));

Jai-GAY avatar Feb 02 '16 06:02 Jai-GAY

This is related to CropUtil.copyExifRotation. This method is not writing Exif data since it's using android.media.ExifInterface.saveAttributes which seems not to work properly. Probably working someday - for the time being one could rotate the saved Bitmap or use another Exif lib.

tpietsc1 avatar Feb 13 '16 12:02 tpietsc1

How, how can I rotate it in crop mod?

kadiksi avatar Mar 11 '16 03:03 kadiksi

@sweatapp did u find any solution to thid?, thanks

matte5031 avatar Nov 25 '16 19:11 matte5031

Getting the same problem here with a Sony android device, any fixes yet?

Nikaoto avatar Aug 22 '17 19:08 Nikaoto