cesards / SuperImageView

Crop and Rounded Corners added to an ImageView.
MIT License
654 stars 111 forks source link

CropImageView.rotateImage don't rescale image to respect ScaleType #25

Closed Merichbier closed 6 years ago

Merichbier commented 6 years ago

It seems to me that the cropImageView don't rescale the image to respect the ScaleType. For example i'm using the CropImageView with a CENTER_CROP ScaleType. It works when opening the image but when a rotation (here I only tested with +-90°) is applied using CropImageView.rotateImage the image keep its size which is correct according to the initialization but not correct with respect to the rotation.