Skip to content

IGRSoft/PhotoSnap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Capture Images from camera

Forked and improved from: https://github.com/samgreen/ImageSnapMavericks

A Lib lets you capture still images from an iSight or other video source.

Requirements

  • macOS 11.4+
  • Xcode 13.0+
  • Swift 5.5+

Installation

Swift Package Manager

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"))
]

Manually

If you prefer not to use any of the aforementioned dependency managers, you can integrate PhotoSnap into your project manually.

Usage

See Example

Image Formats

The following image formats are supported and are determined by the filename extension: JPEG, TIFF, PNG, GIF, BMP.

License

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

Changes

=============

  • v0.1 - This is the initial release.

About

A command line utility to capture an image from the built in camera.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 100.0%