Skip to content

arturgrigor/AGSimpleImageEditorView

Repository files navigation

No Maintenance Intended Twitter

AGSimpleImageEditorView

AGSimpleImageEditorView is just another image editor for iOS. The only features that this editor has are image cropping and rotation.

Screenshot

Installation

Copy over the files from the AGSimpleImageEditorView folder to your project folder.

Usage

Wherever you want to use AGSimpleImageEditorView, import the appropriate header file and initialize as follows:

#import "AGSimpleImageEditorView"

Basic

simpleImageEditorView = [[AGSimpleImageEditorView alloc] initWithImage:[UIImage imageNamed:@"sample"]];
[self.view addSubview:simpleImageEditorView];

Rotation

Left
[simpleImageEditorView rotateLeft];
Right
[simpleImageEditorView rotateRight];

Cropping

simpleImageEditorView.ratio = 4./3.;

Resulting image

UIImage *result = simpleImageEditorView.output;

Contact

Let me know if you're using or enjoying this product.

About

Yet Another Image Editor for iOS.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published