APKenBurnsView alternatives and similar libraries
Based on the "Image" category.
Alternatively, view APKenBurnsView 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 -
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. -
SKPhotoBrowser
Simple PhotoBrowser/Viewer inspired by facebook, twitter photo browsers written by swift -
RSKImageCropper
An image cropper / photo cropper for iOS like in the Contacts app with support for landscape orientation. -
Twitter Image Pipline
Twitter Image Pipeline is a robust and performant image loading and caching framework for iOS clients -
EBPhotoPages
A photo gallery for iOS with a modern feature set. Similar features as the Facebook photo browser. -
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. -
AXPhotoViewer
An iOS/tvOS photo gallery viewer, useful for viewing a large (or small!) number of photos. -
OnlyPictures
A simple and flexible way to add source of overlapping circular pictures, currently supports horizontal overlapping or distant pictures with great layout flexibility. -
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 APKenBurnsView or a related project?
README
APKenBurnsView
Ken Burns effect with face recognition!
APKenBurnsView is UIView subclass which supports face recognition to beautifully animate people photos.
Features
- Face recognition feature to beautifully animate people photos.
- Totally random algorithm. No more hardcoded values!
- Memory efficient. Holds maximum of two UIImage pointers at any moment.
- Pausing animations done right.
- Auto restart after entering background and returning back.
- A lot of animation customizations to fit your needs.
Face Recognition
APKenBurnsView supports three modes for face recognition:
None
- no face recognition, simple Ken Burns effect.Biggest
- recognizes biggest face in image, if any then transition will start or finish (chosen randomly) in center of face rect.Group
- recognizes all faces in image, if any then transition will start or finish (chosen randomly) in center of compound rect of all faces.
Usage
Just simple interface. Provide data source class for UIImage's, setup all timings and run startAnimations()
. No rocket science!
Data source should be ready to provide next image at the moment when APKenBurnsView calls func nextImageForKenBurnsView(kenBurnsView: APKenBurnsView) -> UIImage?
. If there is no UIImage ready (still loading from network, etc.) then data source should return nil
and APKenBurnsView will animate last image one more time. If you are loading your images from network you should consider some preloading mechanism.
Example of usage:
class MyViewController: UIViewController {
// MARK: - Outlets
@IBOutlet weak var kenBurnsView: APKenBurnsView!
// MARK: - Lifecycle
override func viewDidLoad() {
super.viewDidLoad()
kenBurnsView.dataSource = self
kenBurnsView.faceRecognitionMode = .Biggest
kenBurnsView.scaleFactorDeviation = 0.5
kenBurnsView.imageAnimationDuration = 5.0
kenBurnsView.imageAnimationDurationDeviation = 1.0
kenBurnsView.transitionAnimationDuration = 2.0
kenBurnsView.transitionAnimationDurationDeviation = 1.0
}
override func viewDidAppear(animated: Bool) {
super.viewDidAppear(animated)
self.kenBurnsView.startAnimations()
}
}
extension KenBurnsViewController: APKenBurnsViewDataSource {
func nextImageForKenBurnsView(kenBurnsView: APKenBurnsView) -> UIImage? {
return /* Provide UIImage instance */
}
}
Example
To run the example project, clone the repo, and run pod install from the Example directory first.
Requirements
- iOS 8.0 and higher
- ARC
Installation
APKenBurnsView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'APKenBurnsView'
Author
Nickolay Sheika, [email protected]
Contacts
If you have improvements or concerns, feel free to post an issue and write details.
Check out all Alterplay's GitHub projects. Email us with other ideas and projects.
License
APKenBurnsView is available under the MIT license. See the LICENSE file for more info.
*Note that all licence references and agreements mentioned in the APKenBurnsView README section above
are relevant to that project's source code only.