Closed hardz closed 8 years ago
So when you use repalceBitmap, cropper assumes that nothing has changed about the bitmap (size, rotation, etc).
With that said, if you have any suggestions how to go about it (Make cropper aware of rotation of bitmap?), please let me know. PRs are much appreciated.
@jayrambhia Hello,
Yes, it's work fine when you wants to rotate bitmap with setBitmap(rotateBitmap(mOrigBitmap)), but when you scale image then do rotate, it's reassign bitmap to CropperView, so i like to use replaceBitmap(rotatedBitmap) for avoiding reassign bitmap, then i figured out it wan't rotate from center point as it has to.
How to get rid of this strange rotate behavior ?
Flow for this.
Desire result is rotatedBitmap should be replace with reference to center points of scaled bitmap with latest matrix.