-
Notifications
You must be signed in to change notification settings - Fork 91
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
Request: please explain how to use the library #13
Comments
Please see Glide docs and run sample project to see how animated webp is loaded. |
The reason I wrote this, is not because of the sample or the docs of Glide. |
There is no difference between jpg/png or gif/webp with Glide when you load without transformation. The exist code can still work well when the image url change to a webp image. So you only need to add dependencies in your build.gradle. Only with BitmapTransformtaion, you need add some extra code to support it. If you are not familiar with Glide, please read docs and write demo with Glide first. |
I am familiar with Glide, but not with this library. |
Yes, Glide annotation processor will do everything for you automatically. You can read the Glide source code and related integration to find the answer. The Library only insert a WebpDecoder into Glide built-in decoder lists to support webp image. |
Wow this sounds so cool! I really want to try it out, but for now I still have this issue of importing the sample: #11 That's why I wanted to try an alternative, of the most simple way to show a WebP animation (directly from file, for example). |
The repository webpage only shows the dependencies. But what about how to use it?
The text was updated successfully, but these errors were encountered: