TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Apr 2015 |
Maintained by Lucas Ortis.
Lite tool which convert an array of UIImage into a movie, written in Objective-C.
Transform those images:
To this movie:
EKMovieMaker is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "EKMovieMaker", '~> 0.0.1'
#import <EKMovieMaker.h>
- (void)viewDidLoad {
[super viewDidLoad];
NSArray *images = @[
[UIImage imageNamed:@"image1.jpg"],
[UIImage imageNamed:@"image2.jpg"],
[UIImage imageNamed:@"image3.jpg"],
[UIImage imageNamed:@"image4.jpg"],
[UIImage imageNamed:@"image5.jpg"]
];
EKMovieMaker movieMaker = [[EKMovieMaker alloc] initWithImages:self.images];
movieMaker.movieSize = CGSizeMake(400.0f, 200.0f);
movieMaker.framesPerSecond = 60.0f;
movieMaker.frameDuration = 3.0f;
[movieMaker createMovieWithCompletion:^(NSString *moviePath) {
NSLog(@"Movie path => %@", moviePath);
}];
}
Ekhoo, [email protected]
EKMovieMaker is available under the MIT license. See the LICENSE file for more info.