Skip to content

UIImage extension to apply Sketch-style overlays to images

License

Notifications You must be signed in to change notification settings

intrepidmatt/ImageOverlay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

ImageOverlay

UIImage extension to apply Sketch-style overlays to images. See the CGBlendMode documentation for blending options (they match up with Sketch blending mode names).

Usage

Add UIImage+Overlay.swift to your project, then call applyOverlayWithColor():

let image = UIImage(named: "MyImage")
let imageWithOverlay = image.applyOverlayWithColor(UIColor.blueColor(), blendMode: .Color, alpha: 0.5)
self.myImageview.image = imageWithOverlay

About

UIImage extension to apply Sketch-style overlays to images

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages