Latest 1.0
Homepage https://github.com/Daford/YFBlurEffect
License MIT
Platforms ios 6.0, requires ARC
Frameworks Accelerate
Authors

YFBlurEffect实现了毛玻璃效果,对图像模糊化处理.

https://github.com/Daford/YFBlurEffect.git

Author: Daford
Date: 2017/01/16

Usage

1.实例化

_blurEffect = [[YFBlurEffect alloc] init];

2.模糊化效果类型

typedef NS_ENUM(NSInteger, YFBlurEffectStyle) {
    YFBlurEffectLight,
    YFBlurEffectExtraLight,
    YFBlurEffectDark
};

3.获取模糊图像

UIImage *image = [UIImage imageNamed:@"BeauGir.jpg"];
self.brImageView.image = [_blurEffect blurryImage:image withStyle:YFBlurEffectLight];

Latest podspec

{
    "name": "YFBlurEffect",
    "version": "1.0",
    "summary": "YFBlurEffectu5b9eu73b0u4e86u6bdbu73bbu7483u6548u679cuff0cu5bf9u56feu50cfu6a21u7ccau5316u5904u7406.",
    "homepage": "https://github.com/Daford/YFBlurEffect",
    "license": {
        "type": "MIT",
        "file": "FILE_LICENSE"
    },
    "authors": {
        "Daford": "[email protected]"
    },
    "platforms": {
        "ios": "6.0"
    },
    "source": {
        "git": "https://github.com/Daford/YFBlurEffect.git",
        "tag": "1.0"
    },
    "source_files": "Classes/**/*.{h,m}",
    "public_header_files": "Classes/**/*.h",
    "frameworks": "Accelerate",
    "requires_arc": true
}

Pin It on Pinterest

Share This