MetallicImage is an Image Processing Framework on Apple Platforms using Metal and written in Swift.
Import MetallicImage Library.
import MetallicImageDeclare input, output and filter(s).
let picture = PictureInput(image: image) // image is an instance of UIImage or NSImage
let imageView = ImageView(frame: .zero)
let filter = GaussianBlur()Use => operator chaining to connect input, output and filters.
picture => filter => imageViewUsing Swift Package Manager:
Swift 5.3 (Xcode 12.0) is REQUIRED to build MetallicImage.
To integrate Metallic Image into your Xcode project using Swift Package Manager, add it to the dependencies value of your Package.swift:
dependencies: [
.package(url: "https://github.com/iXerol/MetallicImage.git", .upToNextMajor(from: "0.1.0"))
]Without using dependency managers, you can integrate MetallicImage into your project manually.
Add files in framework/MetallicImage directory to your project.
MetallicImage is released under the MIT license. See LICENSE for details.