• Stars
    star
    114
  • Rank 308,031 (Top 7 %)
  • Language
    Objective-C
  • Created almost 13 years ago
  • Updated almost 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Yet Another Image Editor for iOS.

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.