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.

WebP animations support for iOS & Android

See original GitHub issue

Hi there,

I’m getting the exception below when I try to Load a Gif with the url: https://media3.giphy.com/media/3ohzdKbEOsJtrg2iCQ/200.webp That is a gif from the Giphy directory. if I use the *.gif extension it does work, but I am trying to use webp cause the 2x smaller. Do I have to do any specific setup?

I tried the sample app, and it also gives me the same exception.

[0:] Image loading failed: https://media3.giphy.com/media/3ohzdKbEOsJtrg2iCQ/200.webp System.BadImageFormatException: Not a valid bitmap at FFImageLoading.PlatformImageLoaderTask1[TImageView].GenerateImageFromDecoderContainerAsync (FFImageLoading.IDecodedImage1[TNativeImageContainer] decoded, FFImageLoading.Work.ImageInformation imageInformation, System.Boolean isPlaceholder) [0x000a8] in C:\projects\ffimageloading\source\FFImageLoading.Droid\Work\PlatformImageLoadingTask.cs:215 at FFImageLoading.Work.ImageLoaderTask3+<GenerateImageAsync>d__104[TDecoderContainer,TImageContainer,TImageView].MoveNext () [0x002c4] in C:\projects\ffimageloading\source\FFImageLoading.Common\Work\ImageLoaderTask.cs:307 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <43dbbdc147f2482093d8409abb04c233>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <43dbbdc147f2482093d8409abb04c233>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <43dbbdc147f2482093d8409abb04c233>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <43dbbdc147f2482093d8409abb04c233>:0 at FFImageLoading.Work.ImageLoaderTask`3+<RunAsync>d__109[TDecoderContainer,TImageContainer,TImageView].MoveNext () [0x004ae] in C:\projects\ffimageloading\source\FFImageLoading.Common\Work\ImageLoaderTask.cs:588

Basic Information

  • Version with issue: 2.4.3.840
  • Last known good version:
  • Platform: Android 5.1

Screenshots

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
claudioclebersoncommented, Oct 20, 2018

Thanks for your replay. You built a quite complex library.

I am using the gif animation on a chat feature on our APP. for now I am using the *.gif and sticking with smaller formats. But that would be big Plus.

Have a nice day!

Read more comments on GitHub >

github_iconTop Results From Across the Web

WebP image format | Can I use... Support tables for HTML5 ...
Image format (based on the VP8 video format) that supports lossy and lossless compression, as well as animation and alpha transparency. WebP generally...
Read more >
Simple Gallery Pro, animated webp support
Any chance for support for animated webp images, used to be gifs but lots of sites use webp as its better compression.
Read more >
Using WebP for Android on Your Website or Native Apps
In addition, you can render WebP images on iOS through a library called libwebp, which encodes and decodes them. libwebp is available as ......
Read more >
Frequently Asked Questions | WebP
WebP Animation support. Google Chrome (desktop and Android) 32+; Microsoft Edge 18+; Firefox 65+; Opera 19+; Safari 14+ (iOS 14+, ...
Read more >
Support Base64 animated Webp Images on iOS · Issue #522
Expect the image to be displayed and animated on both iOS and Android, but only works on Android. Dependency versions. React version: 16.8.6 ......
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