Skip to content

Ratio and Shape Crop,Rotate images(强大的图片裁剪,包括按比例裁剪,按形状裁剪,各种角度旋转图片)

License

Notifications You must be signed in to change notification settings

mohsinalimat/CHWImageEditorView

Repository files navigation

CHWImageEditorView

CI Status Version License Platform

crop crop crop crop crop

Example

You can use the CHWCropRotateView in your project, how to use the CHWCropRotateView ,you can find the detail in my example project.

CropRotateConfig* config = [CropRotateConfig new];// the default config, you can create your config model.
CHWCropRotateView* cropRotateView = [[CHWCropRotateView alloc] initWithImage:image withConfig:config];
cropRotateView.frame = CGRectMake(0, 0, CGRectGetWidth(self.view.bounds), CGRectGetHeight(self.view.bounds)-TABBARHEIGHT-60-60);
cropRotateView.forceFixedRatio = NO;
cropRotateView.delegate = self;
[self.view addSubview:cropRotateView];

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

CHWImageEditorView is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'CHWImageEditorView'

Author

JackyHeWei, [email protected]

License

CHWImageEditorView is available under the MIT license. See the LICENSE file for more info.

About

Ratio and Shape Crop,Rotate images(强大的图片裁剪,包括按比例裁剪,按形状裁剪,各种角度旋转图片)

Resources

License

Stars

Watchers

Forks

Packages

No packages published