question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for transformations in coil-gif

See original GitHub issue

Is your feature request related to a problem? Please describe. Right now I want to use coil’s coil gif extension together with transformations, it seems that Gif extension is ignoring them

I did:

Coil.setDefaultImageLoader(ImageLoader(this) {
            componentRegistry {
                add(GifDecoder())
            }
        })

and load image with:

imageView.load(R.drawable.some_gif_image) {
                placeholder(R.drawable.placeholder)
                transformations(CircleCropTransformation())
                repeatCount(0)
            }

Describe the solution you’d like Gid extension should apply transformations

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
sagar-viradiyacommented, Jan 27, 2021

@colinrtwhite I have made suggested changes and this seems to be working fine. PR coming soon!

1reaction
colinrtwhitecommented, Apr 7, 2021

The release is delayed slightly, unfortunately as I haven’t been able to solve the issue on master yet. In the meantime you can use the snapshot builds if you need the latest changes now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

GIFs - Coil
To transform the pixel data of each frame of a GIF, see AnimatedTransformation. Note. Coil includes two separate decoders to support decoding GIFs....
Read more >
Image Processing with Coil in Android - Section.io
This tutorial will guide you on how to process images in Android using a fast, lightweight, and powerful open-source library known as Coil....
Read more >
Coil — New image loader in Android town
io.coil-kt:coil-gif : Includes a set of decoders to support decoding GIFs. See GIFs for more details. io.coil ...
Read more >
coil-gif · colin/main_thread_network_request · mirrors / coil ... - GitCode
Lightweight: Coil adds ~2000 methods to your APK (for apps that already use ... placeholder(R.drawable.image) transformations(CircleCropTransformation()) } ...
Read more >
How to play GIF in android - Stack Overflow
add this to your dependencies (build.gradle) ... Bundle; import android.support.v7.app. ... is adding dependency: implementation "io.coil-kt:coil-gif:1.0.0".
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found