/*
 * This file is part of the ZYJSDWebImage package.
 * (c) Olivier Poitrey <rs@dailymotion.com>
 * (c) Laurin Brandner
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

#import "ZYJSDWebImageCompat.h"

/**
 This category is just use as a convenience method. For more detail control, use methods in `UIImage+ZYJMultiFormat.h` or directly use `ZYJSDImageCoder`.
 */
@interface UIImage (ZYJGIF)

/**
 Creates an animated UIImage from an NSData.
 This will create animated image if the data is Animated GIF. And will create a static image is the data is Static GIF.

 @param data The GIF data
 @return The created image
 */
+ (nullable UIImage *)ZYJSD_imageWithGIFData:(nullable NSData *)data;

@end
