Forked and improved from: https://github.com/samgreen/ImageSnapMavericks
A Lib lets you capture still images from an iSight or other video source.
- macOS 11.4+
- Xcode 13.0+
- Swift 5.5+
The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift
compiler.
Once you have your Swift package set up, adding PhotoSnap as a dependency is as easy as adding it to the dependencies
value of your Package.swift
.
dependencies: [
.package(url: "https://github.com/iKorich/PhotoSnap.git", .upToNextMajor(from: "1.0.0"))
]
If you prefer not to use any of the aforementioned dependency managers, you can integrate PhotoSnap into your project manually.
See Example
The following image formats are supported and are determined by the filename extension: JPEG, TIFF, PNG, GIF, BMP.
PhotoSnap is available under the MIT license. See the LICENSE file for more info.
=============
- v0.1 - This is the initial release.