Skip to content

Ken Burns effect for iOS. The feature enables a widely used technique of embedding still photographs in motion pictures, displayed with slow zooming and panning effects, and fading transitions between frames.

License

gitm2m/iOSKenBurns

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iOS Ken Burns effect

The goal of this project is to create a UIView that can generate a Ken Burns transition when given an array of UIImage objects.

To use it, you simply need to an an instance of JBKenBurnsView and call this method to start the action:

[self.kenBurnsView animateWithImages:slideshowImages
			 transitionDuration:15.0 
						   loop:YES 
					inLandscape:YES];

Documentation

- (void) animateWithImages:(NSArray*)images transitionDuration:(float)time loop:(BOOL)isLoop isLandscape:(BOOL)isLandscape;
  1. images: NSArray of UIImages.
  2. time: Time in seconds for the transition between images.
  3. isLoop: The animation will start again when ended.
  4. isLandscape: If true optimized to show in Landscape mode.

TODO

  • Need to allow device rotation.
  • Improvements on image transition effects.

-- ###SweetBits, welcome to the candy factory.###

About

Ken Burns effect for iOS. The feature enables a widely used technique of embedding still photographs in motion pictures, displayed with slow zooming and panning effects, and fading transitions between frames.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published