rickytan / APNGImageSerialization

a warpper of APNG support for iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

APNGImageSerialization

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

  • Xcode 7+
  • iOS 8+

Usage

Decode

self.imageView.image = [UIImage animatedImageNamed:@"clock"];

Encode

NSData *data = UIImageAPNGRepresentation(image);
[data writeToFile:path atomically:YES];

Installation

APNGImageSerialization is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "APNGImageSerialization"

Author

Ricky Tan, ricky.tan.xin@gmail.com

License

APNGImageSerialization is available under the MIT license. See the LICENSE file for more info.

About

a warpper of APNG support for iOS

License:MIT License


Languages

Language:Objective-C 93.7%Language:Ruby 4.0%Language:Swift 2.3%