Skip to content

agilie/AGImageControls

Repository files navigation

AGImageControls

Metal

Made by Agilie CI Status Version License Platform

Hey, everyone! We’re happy to share with you our new lightweight and open-source library called AGImageControls and free to use. Integrate AGImageControls library into your project and get an efficient tool for photos, screenshots, and other images processing. (Supporting Metal Performance Shaders)

AGImageControls allows users to:

  • process any image with special filters. Due to these filters, a user can control the saturation, brightness, contrast, and sharpness of the picture, and also apply a gradient of the appropriate color and the suitable transparency

  • easily supplement an image with a title and a brief description. In addition, one can select the font type, color, and size

  • use vector masks to add emotions and accents to the image. You can also turn the elements through 360 degrees and set the desired slope

Note (Device only)

Make sure that you are running on an actual device (not the simulator) that has an A7 or better chip (an iPhone 5S, iPhone 6, iPhone 6 Plus, iPad Air, or iPad mini (2nd generation))

Installation

AGImageControls is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "AGImageControls"

Demo

AGImageControls Demo AGImageControls Demo AGImageControls Demo

Example

To run the example project, clone the repo, and run pod install from the Example directory first. You can also see an example :

Usage

  1. Import AGImageControls module to your ViewController class

    import AGImageControls
  2. Add AGCameraSnapViewController to ViewController, then set delegate for it

    let camera = AGCameraSnapViewController()
        camera.delegate = self
    self.present(camera, animated: true, completion: nil)
  3. Conform your ViewController to AGCameraSnapViewControllerDelegate protocol

    func fetchImage (cameraSnapViewController : AGCameraSnapViewController, image : UIImage) {
      self.imageView.image = image
    }
  4. AGCameraSnapViewController works with default implementation.

Troubleshooting

Problems? Check the Issues block to find the solution or create an new issue that we will fix asap. Feel free to contribute.

Author

This iOS visual component is open-sourced by Agilie Team [email protected]

Contributors

Contact us

If you have any questions, suggestions or just need a help with web or mobile development, please email us at [email protected]. You can ask us anything from basic to complex questions.

License

AGImageControls is available under The MIT License (MIT) Copyright © 2017 Agilie Team