KSYBeautifyFaceFilter Class Reference
Inherits from | GPUImageFilterGroup |
---|---|
Declared in | KSYBeautifyFaceFilter.h |
Overview
金山云美颜滤镜
磨皮 + 美白 + [红润特效]的美颜滤镜 其中 红润特效为可选效果. 如果启用, 需要依赖外部的KSYGPUResource.bundle中的资源文件 详细使用方法参见demo
grindRatio
grindRatio ranges from 0.0 to 1.0, with 0.87 as the normal level
@property (readwrite, nonatomic) CGFloat grindRatio
Declared In
KSYBeautifyFaceFilter.h
whitenRatio
whitenRatio ranges from 0.0 to 1.0, with 0.6 as the normal level
@property (readwrite, nonatomic) CGFloat whitenRatio
Declared In
KSYBeautifyFaceFilter.h
– initWithRubbyMaterial:
初始化输入的红润特效素材图像
- (id)initWithRubbyMaterial:(UIImage *)img
Parameters
img |
红润特效素材文件 (比如KSYGPUResource.bundle中的资源文件) |
---|
Return Value
构造出来的滤镜
Declared In
KSYBeautifyFaceFilter.h
ruddyRatio
ruddyRatio ranges from 0.0 to 1.0, with 1.0 as the normal level, need to use the initWithRubbyMaterial
@property (readwrite, nonatomic) CGFloat ruddyRatio
Declared In
KSYBeautifyFaceFilter.h