-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
Glide Compose can`t display animation image properly. #5273
Comments
please provide image of behavour |
ag2s20150909
changed the title
Glide Compose can`t display GIF properly.
Glide Compose can`t display animation image properly.
Sep 1, 2023
@OptIn(ExperimentalGlideComposeApi::class)
@Composable
fun TestImageScreen(uri: String="https://upload.wikimedia.org/wikipedia/commons/archive/e/ea/20230626033311%21Test.gif") {
Column(modifier = Modifier.fillMaxSize()) {
Text(text = "com.bumptech.glide.integration.compose.GlideImage")
com.bumptech.glide.integration.compose.GlideImage(
model = uri,
contentScale = ContentScale.Fit,
contentDescription = "",
modifier = Modifier.fillMaxWidth()
)
Divider()
Text(text = "com.skydoves.landscapist.glide.GlideImage")
com.skydoves.landscapist.glide.GlideImage(
imageModel = { uri },
modifier = Modifier.fillMaxWidth(),
imageOptions = ImageOptions(contentScale = ContentScale.Fit)
)
}
}
|
Record_2023-09-01-21-37-16_2e5554fb2a6e63d489e51e410cdbf42c.mp4 |
Thanks for the report and follow up! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Previously, I used this library landscapist to display animation image(like gif) normally, but after switching to the official Composite implementation, I found that animation image cannot be displayed normally, only show static images .
The text was updated successfully, but these errors were encountered: