Replies: 1 comment
-
To resolve this I've used Coil.Transformation val context = LocalContext.current
AsyncImage(
model = ImageRequest.Build(context).data(url).transformation(MyCustomTransformation()).build(),
contentDescription = null,
contentScale = ContentScale.FillWidth
) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello !
I was wondering if it is possible to crop an image while instructing to prefer cropping from one side.
My images are quite large and have a lot of empty space from one side
My code is dead simple
Beta Was this translation helpful? Give feedback.
All reactions