ZImageCropper alternatives and similar libraries
Based on the "Image" category.
Alternatively, view ZImageCropper alternatives based on common mentions on social networks and blogs.
-
TOCropViewController
A view controller for iOS that allows users to crop portions of UIImage objects -
GPUImage2
GPUImage 2 is a BSD-licensed Swift framework for GPU-accelerated video and image processing. -
IDMPhotoBrowser
Photo Browser / Viewer inspired by Facebook's and Tweetbot's with ARC support, swipe-to-dismiss, image progress and more -
SKPhotoBrowser
Simple PhotoBrowser/Viewer inspired by facebook, twitter photo browsers written by swift -
AspectFillFaceAware
DISCONTINUED. An extension that gives UIImageView the ability to focus on faces within an image. -
GPUImage3
GPUImage 3 is a BSD-licensed Swift framework for GPU-accelerated video and image processing using Metal. -
RSKImageCropper
An image / photo crop view controller for iOS like in the Contacts app with support for landscape orientation. -
EBPhotoPages
A photo gallery for iOS with a modern feature set. Similar features as the Facebook photo browser. -
Twitter Image Pipline
Twitter Image Pipeline is a robust and performant image loading and caching framework for iOS clients -
ImagePickerSheetController
ImagePickerSheetController replicates the custom photo action sheet in iMessage. -
YUCIHighPassSkinSmoothing
An implementation of High Pass Skin Smoothing using Apple's Core Image Framework -
CTPanoramaView
A library that displays spherical or cylindrical panoramas with touch or motion based controls. -
OnlyPictures
A simple and flexible way to add source of overlapping circular pictures, currently supports horizontal overlapping or distant pictures with great layout flexibility. -
AXPhotoViewer
An iOS/tvOS photo gallery viewer, useful for viewing a large (or small!) number of photos. -
ComplimentaryGradientView
Create complementary gradients generated from dominant and prominent colors in supplied image. Inspired by Grade.js
CodeRabbit: AI Code Reviews for Developers
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of ZImageCropper or a related project?
README
ZImageCropper
ZImageCropper is a simplest way to crop image to any shapes you like.
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Requirements
Installation
Cocoapods
ZImageCropper is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'ZImageCropper'
Swift Package Manager
The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into Xcode and the Swift compiler.
If you are using Xcode 11 or later:
- Click
File
Swift Packages
Add Package Dependency...
- Specify the git URL for
ZImageCropper
.
https://github.com/ZaidPathan/ZImageCropper
Manual
Add ZImageCropper.swift
and ZImageCropperView.swift
files to your project.
Usage
Crop using AI (Or programmatically)
Crop image using following code,
let croppedImage = ZImageCropper.cropImage(ofImageView: yourImageView, withinPoints: [
CGPoint(x: 0, y: 0), //Start point
CGPoint(x: 100, y: 0),
CGPoint(x: 100, y: 100),
CGPoint(x: 0, y: 100) //End point
])
Note : Make sure you provide valid points, points must be >=2 in count.
Crop using user touches,
Step 1: Add UIImageView
to your StoryBoard/XIB
and give it a Class Name: ZImageCropperView
Step 2: Run the app and see cropping is enable to your UIImageView
Step 3: Add @IBOutlet
of your UIImageView
and call method imageView.cropImage()
to crop selected layer by user.
Author
Zaid Pathan
Contributor
License
ZImageCropper is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the ZImageCropper README section above
are relevant to that project's source code only.