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.

The WebP animation twinkles

See original GitHub issue

Hi, I use Fresco to play webp animations, but sometimes it do not work well, every frame is flashing, may be loaded too slowly?

Here is the code, contains the flashing webp file:

        Uri uri = Uri.parse("http://77flrh.com1.z0.glb.clouddn.com/038B98F02B26B70DF0DF8EF62257F9EB.webp");
        DraweeController controller = Fresco.newDraweeControllerBuilder()
                .setUri(uri)
                .setAutoPlayAnimations(true)

                .setControllerListener(new BaseControllerListener<ImageInfo>() {
                    @Override
                    public void onFinalImageSet(String id, ImageInfo imageInfo, final
                    Animatable animatable) {
                        animatable.start();
                    }
                })
                .build();
        SimpleDraweeView draweeView = (SimpleDraweeView) findViewById(R.id.my_image_view);
        draweeView.setController(controller);

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
UFreedomcommented, Jul 18, 2017

@erikandre @oprisnik This is exciting news. I’ve just updated to the latest version(1.4.0), tested all the webp files that have problems and found no problems. all of the problem have been resolved.

You’ve done a great job. Thank you very much for your support during this time。

1reaction
oprisnikcommented, Jul 17, 2017

We’ve released Fresco v1.4.0, which includes a new implementation for animated GIFs and animated WebPs that is way more performant, especially in the case where you display multiple images. Let us know if you’re still experiencing problems with 1.4.0.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Frequently Asked Questions | WebP - Google Developers
What is WebP? Why should I use it? WebP is a method of lossy and lossless compression that can be used on a...
Read more >
Star Twinkle Precure | JuliatheSweetGirl's Cute World Wiki | Fandom
Star Twinkle Precure is a Japanese magical girl anime series by Toei Animation. The story begins when the protagonist Hikaru meets aliens Lala,...
Read more >
Animated WebP Maker - Ezgif
This tool lets you create animated WebP images. It's very similar to our GIF maker but outputs animation in WebP format instead of...
Read more >
Postimages — free image hosting / image upload
Provides free image upload and hosting integration for forums. Free picture hosting and photo sharing for websites and blogs.
Read more >
Gábor Hojtsy on Twitter: "The WebP image format supports ...
The WebP image format supports transparency and animation like PNG, yet it offers file sizes that are around 30% smaller than JPEG without ......
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