/*
 * This file is part of the YSSDWebImage 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 "YSSDImageIOAnimatedCoder.h"

/**
 Built in coder using ImageIO that supports animated GIF encoding/decoding
 @note `YSSDImageIOCoder` supports GIF but only as static (will use the 1st frame).
 @note Use `YSSDImageGIFCoder` for fully animated GIFs. For `UIImageView`, it will produce animated `UIImage`(`NSImage` on macOS) for rendering. For `YSSDAnimatedImageView`, it will use `YSSDAnimatedImage` for rendering.
 @note The recommended approach for animated GIFs is using `YSSDAnimatedImage` with `YSSDAnimatedImageView`. It's more performant than `UIImageView` for GIF displaying(especially on memory usage)
 */
@interface YSSDImageGIFCoder : YSSDImageIOAnimatedCoder <YSSDProgressiveImageCoder, YSSDAnimatedImageCoder>

@property (nonatomic, class, readonly, nonnull) YSSDImageGIFCoder *sharedCoder;

@end
