Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lbrndnr/LBGIFImage

This is a small category that creates an animated UIImage out of a gif image.
https://github.com/lbrndnr/LBGIFImage

Last synced: about 1 month ago
JSON representation

This is a small category that creates an animated UIImage out of a gif image.

Awesome Lists containing this project

README

        

# LBGIFImage

## About
LBGIFImage is an easy and efficient way to display [animated GIF images](http://en.wikipedia.org/wiki/Graphics_Interchange_Format). It's based on the `ImageIO.framework` which makes it fast and lightweight.

## Installation
1. Drag the `LBGIFImage` folder into your project.
2. Import the `ImageIO.framework`.

### Example

```objc
NSData* data = [NSData dataWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"image" ofType:@"gif"]];
UIImage* image = [UIImage animatedGIFWithData:data];
```

## License
LBGIFImage is licensed under the [MIT License](http://opensource.org/licenses/mit-license.php).