Latest 0.1.0
Homepage https://github.com/piemonte/Blurry
License MIT
Platforms ios 10.0, requires ARC
Authors

Blurry

Blurry 🌫

Image blurring in Swift.

Build Status Pod Version Swift Version GitHub license

This library is a small CoreImage wrapper that performs a variety of blurring techniques based on the given parameters.

Need a different version of Swift?

  • 4.2 – Target your Podfile to the swift4.2 branch
  • 4.0 – Target your Podfile to the latest release or master

Quick Start

Blurry is available and recommended for installation using the Cocoa dependency manager CocoaPods. You can also simply copy the Blurry.swift file into your Xcode project.

Installation

# CocoaPods
swift_version = "4.2"
pod "Blurry", "~> 0.1.0"

# Carthage
github "piemonte/Blurry" ~> 0.1.0

# SwiftPM
let package = Package(
    dependencies: [
        .Package(url: "https://github.com/piemonte/Blurry", majorVersion: 0)
    ]
)

Usage

import Blurry
// using UIImage extension, an example with a few parameters
let blurryImage = originalImage.blurryImage(blurRadius: 12.0)

// or if you prefer no extension, an example with more parameters
let blurryImage = Blurry.blurryImage(withOptions: BlurryOptions.pro, overlayColor: overlayColor, forImage: sampleImage, size: sampleImage.size, blurRadius: 12.0)

License

Blurry is available under the MIT license, see the LICENSE file for more information.

Latest podspec

{
    "name": "Blurry",
    "version": "0.1.0",
    "license": "MIT",
    "summary": "Image Blurring in Swift",
    "homepage": "https://github.com/piemonte/Blurry",
    "authors": {
        "patrick piemonte": "[email protected]"
    },
    "source": {
        "git": "https://github.com/piemonte/Blurry.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "10.0"
    },
    "source_files": "Sources/*.swift",
    "requires_arc": true,
    "swift_version": "4.2",
    "screenshots": "https://raw.githubusercontent.com/piemonte/Blurry/master/Blurry.png"
}

Pin It on Pinterest

Share This