Swiftpack.co - Dean151/ImageUtility as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by Dean151.
Dean151/ImageUtility 0.3.6
Helpers functions performing image operations for iOS
⭐️ 3
🕓 3 years ago
iOS
.package(url: "https://github.com/Dean151/ImageUtility.git", from: "0.3.6")

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 >= 9.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 :)

GitHub

link
Stars: 3
Last commit: 3 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

0.3.3
4 years ago

Fixed some function when image.scale != 1.0

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics