KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
HJImagesToGIF
★ 26
Open GitHub ↗
Convert image array to animated GIF
Download README (.md)
Explore Similar Repositories
semantic-ssh-key
:
Semantic SSH RSA keys
Websocket-Pomelo
:
Websocket-Pomelo
RedGreen
:
RedGreen is an extension library for SenTestKit that makes the test output easier to parse by humans.
level-merkle
:
No description available.
ZF1-Bridge
:
PHP-DI integration with Zend Framework 1
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
HJImagesToGIF
?
Download (.md)
HJImagesToGIF ============= Convert image array to animated GIF ### Save to path ``` [HJImagesToGIF saveGIFFromImages:images toPath:path WithCallbackBlock:nil]; ``` ### Save to photo album ``` [HJImagesToGIF saveGIFToPhotoAlbumFromImages:images WithCallbackBlock:nil]; ``` ### Example Usage ``` NSString *tempPath = [NSHomeDirectory() stringByAppendingPathComponent: [NSString stringWithFormat:@"puppy.gif"]]; NSArray * images = [NSArray arrayWithObjects:[UIImage imageNamed:@"frame1.png"], [UIImage imageNamed:@"frame2.png"], [UIImage imageNamed:@"frame3.png"], [UIImage imageNamed:@"frame4.png"], [UIImage imageNamed:@"frame5.png"], [UIImage imageNamed:@"frame6.png"], nil]; [HJImagesToGIF saveGIFFromImages:images toPath:tempPath WithCallbackBlock:^{ NSLog(@"Saved to file!"); }]; [HJImagesToGIF saveGIFToPhotoAlbumFromImages:images WithCallbackBlock:^{ NSLog(@"Saved to album!"); }]; ```        Copyright 2013 Harrison Jackson http://harrisonjackson.us Feel free to use however you want - if you make any improvements submit a pull request!