杨锴
2025-04-16 09a372bc45fde16fd42257ab6f78b8deeecf720b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * This file is part of the SDWebImage package.
 * (c) Olivier Poitrey <rs@dailymotion.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
 
#import <Foundation/Foundation.h>
#import "SDImageIOAnimatedCoder.h"
 
/**
 This coder is used for Google WebP and Animated WebP(AWebP) image format.
 Image/IO provide the WebP decoding support in iOS 14/macOS 11/tvOS 14/watchOS 7+.
 @note Currently Image/IO seems does not supports WebP encoding, if you need WebP encoding, use the custom codec below.
 @note If you need to support lower firmware version for WebP, you can have a try at https://github.com/SDWebImage/SDWebImageWebPCoder
 */
API_AVAILABLE(ios(14.0), tvos(14.0), macos(11.0), watchos(7.0))
@interface SDImageAWebPCoder : SDImageIOAnimatedCoder <SDProgressiveImageCoder, SDAnimatedImageCoder>
 
@property (nonatomic, class, readonly, nonnull) SDImageAWebPCoder *sharedCoder;
 
@end