-
Notifications
You must be signed in to change notification settings - Fork 659
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a CenterCropTransformation #56
Comments
I'd like to avoid adding new transformations to the base |
@colinrtwhite I think these should be built into the coil because it is the basic conversion, such as centerCrop, fitCenter |
@VVVenom If you're loading into an |
If I set the background for the Obviously this is useful in certain situations. |
@colinrtwhite What will happen if my imageView has, for example, |
Crop will be useful, because without it the base transformation RoundedCornersTransformation can't be used as desired: |
Reference: https://github.com/bumptech/glide/blob/d8278f43a94484f20822170b71ac7b66269a2aa6/library/src/main/java/com/bumptech/glide/load/resource/bitmap/CenterCrop.java
Sometimes in some combination transformations, it is possibly important
The text was updated successfully, but these errors were encountered: