Swift Package Index

ImageUtility

https://github.com/Dean151/ImageUtility.git

Helpers functions performing image operations for iOS


ImageUtility

Build Status CocoaPods Compatible Carthage compatible

Features

  • Generate an image using a size and a fill color.
  • Get the average color of an image
  • Check if an image is fully empty or not
  • Resize the image to a specified size
  • Scale the image by a multiplier, of to fit/fill a size
  • Crop an image by a given inset, or to a given target size
  • Trim transparent pixels from an image and/or get the transparent edge insets of an image

Requirements

This library support iOS >= 8.0, but requires Xcode >= 10.2 since it's builded with Swift 5

Installation

Using Cocoapods

Specify in your Podfile:

target 'MyApp' do
    pod 'ImageUtility'
end

Using Carthage

Specify in your Cartfile

github "Dean151/ImageUtility"

Usage

API details and documentation to come soon :)