Skip to content

trafi/ImageMod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swift Package Manager compatible

ImageMod

Modify and compose images with nice Swift syntax, perserve vector data.

Usage

Just chain operations and call .image to retrieve final UIImage.

let niceImage = UIImage(named: "uglyImage")?
    .tinted(.blue)
    .padded(by: 10)
    .scaled(width: 50)
    .zStack(coolImage)
    .image

Installation

Open your project in Xcode and select File > Swift Packages > Add Package Dependency. There enter https://github.com/trafi/ImageMod as the repository URL.

About

Modify and compose images with nice Swift syntax, perserve vector data

Topics

Resources

License

Stars

Watchers

Forks

Languages