UIImageColors alternatives and similar libraries
Based on the "Image" category.
Alternatively, view UIImageColors alternatives based on common mentions on social networks and blogs.
-
SDWebImage
Asynchronous image downloader with cache support with an UIImageView category. -
GPU Image
An open source iOS framework for GPU-based image and video processing. -
Kingfisher
A lightweight and pure Swift implemented library for downloading and caching image from the web. -
MWPhotoBrowser
A simple iOS photo and video browser with grid view, captions and selections -
FastImageCache
iOS library for quickly displaying images while scrolling. -
GPUImage2
GPUImage 2 is a BSD-licensed Swift framework for GPU-accelerated video and image processing. -
TOCropViewController
A view controller that allows users to crop UIImage objects. -
PINRemoteImage
A thread safe, performant, feature rich image fetcher. -
YYWebImage
Asynchronous image loading framework (supports WebP, APNG, GIF). -
RSKImageCropper
An image cropper for iOS like in the Contacts app with support for landscape orientation. -
AspectFillFaceAware
An extension that gives UIImageView the ability to focus on faces within an image when using AspectFill. -
SKPhotoBrowser
Simple PhotoBrowser/Viewer inspired by facebook, twitter photo browsers written by swift -
GPUImage3
GPUImage 3 is a BSD-licensed Swift framework for GPU-accelerated video and image processing using Metal. -
ImageSlideshow
Swift image slideshow with circular scrolling, timer and full screen viewer. -
TLPhotoPicker
Multiple phassets picker for iOS lib. like a facebook. -
EBPhotoPages
A photo gallery for iOS with a modern feature set. Similar features as the Facebook photo browser. -
TinyCrayon
A smart and easy-to-use image masking and cutout SDK for mobile apps. -
Twitter Image Pipline
streamlined framework for fetching and storing images in an application. -
ImagePickerSheetController
ImagePickerSheetController is like the custom photo action sheet in iMessage just without the glitches. -
Lightbox
A convenient and easy to use image viewer for your iOS app. -
YUCIHighPassSkinSmoothing
An implementation of High Pass Skin Smoothing using Apple's Core Image Framework -
DFImageManager
Modern framework for fetching images from various sources. Zero config yet immense customization and extensibility. Uses NSURLSession. -
AsyncImageView
Simple extension of UIImageView for loading and displaying images asynchronously without lock up the UI. -
MetalPetal
A GPU-accelerated image/video processing framework based on Metal. -
ImageScout
A Swift implementation of fastimage. Supports PNG, GIF, and JPEG. -
CTPanoramaView
Displays spherical or cylindrical panoramas or 360-photos with touch or motion based control options. -
ShadowImageView
ShadowImageView is a iOS 10 Apple Music style image view, help you create elegent image with shadow. -
Paparazzo
Custom iOS camera and photo picker with editing capabilities -
OnlyPictures
A simple and flexible way to add source of overlapping circular pictures. -
SFSafeSymbols
Safely access Apple's SF Symbols using static typing. -
ComplimentaryGradientView
Create complementary gradients generated from dominant and prominent colors in supplied image. Inspired by Grade.js. -
AXPhotoViewer
An iPhone/iPad photo gallery viewer, useful for viewing a large (or small!) number of photos -
SimpleImageViewer
A snappy image viewer with zoom and interactive dismissal transition. -
SABlurImageView
Easily Adding Animated Blur/Unblur Effects To An Image. -
Viewer
Image viewer (or Lightbox) with support for local and remote videos and images
Scout APM - Leading-edge performance monitoring starting at $39/month
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of UIImageColors or a related project?
README
UIImageColors
iTunes style color fetcher for UIImage
and NSImage
. It fetches the most dominant and prominent colors.
[preview](preview.png)
Installation
Manual
Copy [UIImageColors.swift](UIImageColors/Sources/UIImageColors.swift) into your project.
Cocoapods
Add UIImageColors to your Podfile
:
pod 'UIImageColors'
Carthage
Add UIImageColors to your Cartfile
:
github "jathu/UIImageColors"
Example
Asynchronous example:
let image = UIImage(named: "yeezus.png")
image.getColors { colors in
backgroundView.backgroundColor = colors.background
mainLabel.textColor = colors.primary
secondaryLabel.textColor = colors.secondary
detailLabel.textColor = colors.detail
}
Synchronous example:
let colors = UIImage(named: "yeezus.png").getColors()
backgroundView.backgroundColor = colors.background
mainLabel.textColor = colors.primary
secondaryLabel.textColor = colors.secondary
detailLabel.textColor = colors.detail
Image Methods
getColors() -> UIImageColors?
getColors(quality: ImageColorsQuality) -> UIImageColors?
getColors(_ completion: (UIImageColors?) -> Void) -> Void
getColors(quality: UIImageColorsQuality, _ completion: (UIImageColors?) -> Void) -> Void
UIImageColors Objects
UIImageColors
is struct that contains four different UIColor
(or NSColor
on macOS) variables.
public struct UIImageColors {
public var background: UIColor!
public var primary: UIColor!
public var secondary: UIColor!
public var detail: UIColor!
}
UIImageColorsQuality
is a enum with four different qualities. The qualities refer to how much the original image is scaled down. Lowest
implies smaller size and faster performance at the cost of quality colors. High
implies larger size with slower performance with good colors. Highest
implies no downscaling and very good colors, but it is very slow.
The default is set to high
.
public enum UIImageColorsQuality: CGFloat {
case lowest = 50 // 50px
case low = 100 // 100px
case high = 250 // 250px
case highest = 0 // No scale
}
License
The license is provided in the project folder. This is based on Panic's OS X ColorArt.
June 2015 - Toronto
*Note that all licence references and agreements mentioned in the UIImageColors README section above
are relevant to that project's source code only.