UIImage+MultiFormat.h 505 B

123456789101112131415161718
  1. /*
  2. * This file is part of the SDWebImage package.
  3. * (c) Olivier Poitrey <rs@dailymotion.com>
  4. *
  5. * For the full copyright and license information, please view the LICENSE
  6. * file that was distributed with this source code.
  7. */
  8. #import "SDWebImageCompat.h"
  9. #import "NSData+ImageContentType.h"
  10. @interface UIImage (MultiFormat)
  11. + (nullable UIImage *)sd_imageWithData:(nullable NSData *)data;
  12. - (nullable NSData *)sd_imageData;
  13. - (nullable NSData *)sd_imageDataAsFormat:(SDImageFormat)imageFormat;
  14. @end