An QOI (Quite OK Image Format) implementation written in Swift to be used with iOS.
QOI is compression image format.
QOI is fast. It losslessy compresses images to a similar size of PNG, while offering 20x-50x faster encoding and 3x-4x faster decoding.
You can learn more here: https://qoiformat.org
This framework will be usable by iOS 13 and above or MacOS 10.15 and above.
SwiftQOI is available via SwiftPackage.
Add the following to you Package.swift file's dependencies:
.package(url: "https://github.com/sciasxp/SwiftQOI", from: "0.1.0"),
Encode and Decode image pixels representation data to/from QOI.
Extension to UIImage for easy handling QOI on your projects.
let image = UIImage(systemName: "clock") let qoiData: Data? = image.qoiData()
let image: UIImage? = UIImage(qoi: qoiData)
Improve unit tests.
Support for cocoapods
You are most welcome in contributing to this project with either new features (maybe one mentioned from the future work or anything else), refactoring and improving the code. Also, feel free to give suggestions and feedbacks.
Created with ❤️ by Luciano Nunes.
Get in touch on [Email](https://raw.github.com/sciasxp/SwiftQOI/main/mailto: email@example.com)