Git Product home page Git Product logo

Comments (5)

nemosupremo avatar nemosupremo commented on June 8, 2024

It looks like either I messed up the dispose method this gif is using (you can see the raw new frames here http://uk.bloggif.com/gif-extract?id=d2cd530f0663cc4cbe5b9e084e99032f, or upload the gif to http://uk.bloggif.com/gif-extract and check "Delete GIF optimization") - or - frames are being skipped.

If the disposal method if this gif is 0 or 1, then frames are being skipped. If the disposal method is 2 or 3, then the backgrounds for these methods isn't being properly drawn (https://github.com/nemothekid/gifdrawable-android/blob/master/jni/libgifdrawable.c#L125)

I'll look into it in the next 2-3 days and see if I can fix it this weekend.

from gifdrawable-android.

kozlowski avatar kozlowski commented on June 8, 2024

But I still see this artifacts. Can you help with this issue?

from gifdrawable-android.

nemosupremo avatar nemosupremo commented on June 8, 2024

See what artifacts? On what GIF? AFAIK, OP's Gif plays well.

from gifdrawable-android.

kozlowski avatar kozlowski commented on June 8, 2024

I see artficats which dark58 showed on video https://www.youtube.com/watch?v=DjKI9b8jBMw&feature=youtu.be . The problem is only with optimized GIF files.

I simply download your project from GitHub, use ndk_build from command line to generate .so libs.
Maybe problem is with ndk compilation? I also try to compile library on Ubuntu. I try to use different NDK versions. The result is the same always.

I will be grateful if you can you send me your compiled libraries on email ( [email protected] ) to compare playing result?

from gifdrawable-android.

kozlowski avatar kozlowski commented on June 8, 2024

My .so libs was created with warnings: https://www.dropbox.com/s/e0dbw2ecy8ljnfl/ndkBuild.txt
This is important?

Which dispose methods are you support?

from gifdrawable-android.

Related Issues (4)

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.