ArthurHub / Android-Image-Cropper

Image Cropping Library for Android, optimized for Camera / Gallery.
Apache License 2.0
6.4k stars 1.38k forks source link

Rotation with rotated crop rect not working. #604

Open razraj opened 6 years ago

razraj commented 6 years ago

I want to set rotation of the image and also the crop rect. with fixed X&Y ratio. but whenever I try setting the rect it doesn't show properly.

cropView.setImageBitmap(bitmap); cropView.setCropRect(initCropRect); cropView.setAspectRatio(xRatio,yRatio); cropView.setRotatedDegrees(rotationAngle);

If I remove the aspectRatio constrain then it show the rect. but only on first load.

rraikarnvi commented 6 years ago

its similar to #570