Skip to content

Image cropping/rotating/straightening library for iOS in Swift

License

Notifications You must be signed in to change notification settings

qchenqizhi/QCropper

Repository files navigation

QCropper

CI Status Version License Platform

This project aims to provide an image cropping experience like iOS Photos.app

I wrote the Objective-C version of QCropper for my company a few years ago, based on earlier versions of TOCropViewController and PhotoTweaks. Now I am going to say goodbye to UIKit in advance, so I (as a newbee to the open source community) created this Swift version and let it open source

Preview

Customization

Features

  • Image cropping
  • Image rotating
  • Image straightening
  • Image flipping
  • Select and lock aspect ratio
  • Save and restore state, reset/re-edit

Todo

  • Documention
  • Unit Tests
  • Localization
  • CocoaPods
  • Carthage/SPM
  • SwiftUI version
  • Landscape/iPad
  • Custom transtion
  • Angle ruler
  • Aspect ratio picker
  • Circular
  • Overlays & CustomUI customization

Installation

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

pod 'QCropper'

License

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