Skip to content
ZMJImageEditor 是一个和微信一样图片编辑的组件,功能强大,极易集成,支持绘制、文字、旋转、剪裁、马赛克等功能。
Objective-C Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Example add files Jan 6, 2020
screenShot
.swift-version
.travis.yml
1.gif
LICENSE
README.md
WBGMosicaViewController.h
WBGMosicaViewController.m first init May 7, 2019
ZMJImageEditor.podspec
_Pods.xcodeproj

README.md

ZMJImageEditor 是一个和微信一样图片编辑的组件,功能强大,极易集成,支持绘制、文字、旋转、剪裁、马赛克、擦除重绘等功能。

Base On

Feature

  • 1、Draw
  • 2、Text
  • 3、Mosica
  • 4、Crop/Rotate
  • 5、Erase/redraw

GIF

ScreenShot

Usage

调起

WBGImageEditor *editor = [[WBGImageEditor alloc] initWithImage:_imageView.image delegate:self];
[self presentViewController:editor animated:YES completion:nil];

回调

#pragma mark - WBGImageEditorDelegate
- (void)imageEditor:(WBGImageEditor *)editor didFinishEdittingWithImage:(UIImage *)image
{
	self.imageView.image = image;
	[editor.presentingViewController dismissViewControllerAnimated:YES completion:nil];
}

- (void)imageEditorDidCancel:(WBGImageEditor *)editor 
{

}

Requirements

  • iOS7+

Author

  • keshiim

  • Qinmin

Blog

Contact Me

To do

  • 贝塞尔曲线提高圆滑度
  • 分组渲染降低每次渲染顶点数

License

  • WBGImageEditor is available under the MIT license. See the LICENSE file for more info.
You can’t perform that action at this time.