Skip to content

Ekhoo/EKMovieMaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EKMovieMaker

Version License Platform

Light tool which convert an array of UIImage into a movie, written in Objective-C.

Demonstration

Transform those images:

EKMovieMakerImage

To this movie:

EKMovieMaker

Usage

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

pod "EKMovieMaker", '~> 0.0.1'

Example

#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:images];
    movieMaker.movieSize       = CGSizeMake(400.0f, 200.0f);
    movieMaker.framesPerSecond = 60.0f;
    movieMaker.frameDuration   = 3.0f;
    
    [movieMaker createMovieWithCompletion:^(NSString *moviePath) {
      NSLog(@"Movie path => %@", moviePath);
    }];
}

Author

Ekhoo, me@lucas-ortis.com

License

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

About

Light tool which convert an array of UIImage into a movie, written in Objective-C.

Resources

License

Stars

Watchers

Forks

Packages

No packages published