Create animated GIF or PNG from a set of images
Animator can be installed using the Swift Package Manager. Add the following to your
dependencies: [ .Package(url: "https://github.com/infinitetoken/Animator.git", from: "2.0.0") ]
import Animator let images: [CGImage] = ... let url: URL = ... let data = await Animator.animation(from: Animator.frames(from: images), type: .gif?raw=true)
Animator is released under the MIT license. See LICENSE for details.
|Last commit: 2 weeks ago|
Use correct properties dictionaries