Closed deverhjj closed 4 years ago
Thanks for the extra information. So the problem is that you were relying on Glide's implicit downsampling behavior when image's scale type is set to something other than "center" or "matrix".
Note though, that there is no way this library can allow you to use anything ragher than "matrix" because it is used for image state control. Although I don't think it will be good if Glide will crop bitmaps to fit enclosing ImageView anyway, what will be the purpose of this library if it cannot show full (uncropped) images?
The best fix for this issue will be to control images size from backend side, it will be much more efficient than downloading huge images and then downsampling them locally. If backend is out of your control then you can explicitly configure Glide to downsample images for you. As I already mentioned this library does not control bitmaps loading and it just shows whatever was loaded into it.
BTW, I don't think it was worth to create a new issue for it, it is now a duplicate of #103, #108 and #155. I'll close it again as there is nothing I can do here.
I think because of GestureImageView force using Matrix to transform image and cause Glide not downsample image.
155
GestureImageView