Git Product home page Git Product logo

Comments (6)

zjupure avatar zjupure commented on May 26, 2024

If you want to decode animated webp images without glide, you should see libwebp and fresco. And learn how webp images are decoded.

from glidewebpdecoder.

AndroidDeveloperLB avatar AndroidDeveloperLB commented on May 26, 2024

But it's also here in the library.
Can't I use the code here for the same purpose, just without Glide? Maybe provide it with InputStream as input?
Also, BTW, "fresco" is a huge library. Takes about 3MB according to what I've found.

from glidewebpdecoder.

zjupure avatar zjupure commented on May 26, 2024

The Library is Apache-2.0-licensed. You can take the code from this library for usage under the LICENSE restriction.
I mean you can read the fresco source code and learn how image are decoded. Not just import all the library.

from glidewebpdecoder.

AndroidDeveloperLB avatar AndroidDeveloperLB commented on May 26, 2024

I mean if it's possible without forking. Which is the main class (or classes) that should be looked at? Does WebP get handled the same way as GIF ?

from glidewebpdecoder.

zjupure avatar zjupure commented on May 26, 2024

Sources are open here and you can do everthing you want. No one will tell you how to read the fucking source code.

from glidewebpdecoder.

AndroidDeveloperLB avatar AndroidDeveloperLB commented on May 26, 2024

I was hoping to use this library to decode even without Glide.
Of course I can read the entire source code, but I think only a part of it is relevant. Some is used very closely to the NDK code, and some to Glide itself.

from glidewebpdecoder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.