APNGImageSerialization
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, [email protected]
License
APNGImageSerialization is available under the MIT license. See the LICENSE file for more info.