Swiftpack.co - rickytan/APNGImageSerialization as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by rickytan.
rickytan/APNGImageSerialization 0.2.3
a warpper of APNG support for iOS
⭐️ 9
🕓 3 years ago
iOS watchOS
.package(url: "https://github.com/rickytan/APNGImageSerialization.git", from: "0.2.3")

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, [email protected]

License

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

GitHub

link
Stars: 9
Last commit: 1 year ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics