You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
//
// UIImage+bioAuth.h
// BioAuthEngine
//
// Created by 王伟伟 on 2017/8/23.
// Copyright © 2017年 DTF. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <CoreMedia/CoreMedia.h>
@interface UIImage (bioAuth)
+ (nullable UIImage *)bioAuth_imageWithColor:(UIColor *_Nullable)color size:(CGSize)size;
#pragma mark - Resize -
- (nullable UIImage *)resize:(CGSize)sz; - (nullable UIImage *)subRect:(CGRect)r; - (nullable UIImage *)gaussiamBlur;
- (nullable UIImage *)bioAuth_Resize:(CGSize)sz; - (nullable UIImage *)bioAuth_SubRect:(CGRect)r; - (nullable UIImage *)bioAuth_GaussiamBlur; + (nullable UIImage *)bioAuth_imageWithCVPixelBuffer:(CVPixelBufferRef _Nullable )buffer; + (nullable UIImage *)bioAuth_imageWithCMSampleBuffer:(CMSampleBufferRef _Nullable )samplebuffer; - (nullable UIImage *)bioAuth_imageByResizeToSize:(CGSize)size contentMode:(UIViewContentMode)contentMode; @end
|