简易的图片处理框架。采用GPUImage实现,包含滤镜,特效,虚化,裁剪,旋转,光影,边框,色彩参数调整功能
导入头文件 #import "HCPhotoEditViewController.h"
HCPhotoEditViewController *editController = [[HCPhotoEditViewController alloc] init];
editController.oriImage = imageView.image;
editController.delegate = self;
[self presentViewController:editController animated:YES completion:nil];
实现代理HCPhotoEditViewControllerDelegate
/**
点击“完成”按钮回调函数
*/
-(void)didClickFinishButtonWithEditController:(HCPhotoEditViewController*)controller newImage:(UIImage*)newImage;
/**
点击“取消”按钮回调函数
*/
-(void)didClickCancelButtonWithEditController:(HCPhotoEditViewController*)controller;