We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 602184e commit b6f4692Copy full SHA for b6f4692
SDWebImageWebPCoder/Classes/SDImageWebPCoder.m
@@ -347,6 +347,14 @@ - (void)updateIncrementalData:(NSData *)data finished:(BOOL)finished {
347
- (UIImage *)incrementalDecodedImageWithOptions:(SDImageCoderOptions *)options {
348
UIImage *image;
349
350
+ // For Animated WebP Images, progressive decoding only return the first frame.
351
+ // If you want progressive animation, use the SDAniamtedCoder protocol method instead.
352
+ if (_demux) {
353
+ SD_LOCK(_lock);
354
+ image = [self safeStaticImageFrame];
355
+ SD_UNLOCK(_lock);
356
+ }
357
+ // For Static WebP images
358
int width = 0;
359
int height = 0;
360
int last_y = 0;
0 commit comments