{"id":15048401,"url":"https://github.com/github/uiimage-from-animated-gif","last_synced_at":"2025-10-04T08:31:43.624Z","repository":{"id":11468161,"uuid":"13934299","full_name":"github/uiimage-from-animated-gif","owner":"github","description":"A UIImage category that loads animated GIFs","archived":true,"fork":true,"pushed_at":"2014-01-06T21:06:10.000Z","size":194,"stargazers_count":11,"open_issues_count":0,"forks_count":10,"subscribers_count":32,"default_branch":"master","last_synced_at":"2024-09-29T00:21:35.980Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"mayoff/uiimage-from-animated-gif","license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/github.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-10-28T18:16:25.000Z","updated_at":"2024-07-31T03:23:05.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/github/uiimage-from-animated-gif","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fuiimage-from-animated-gif","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fuiimage-from-animated-gif/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fuiimage-from-animated-gif/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fuiimage-from-animated-gif/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/github","download_url":"https://codeload.github.com/github/uiimage-from-animated-gif/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235232694,"owners_count":18957057,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T21:11:27.560Z","updated_at":"2025-10-04T08:31:38.360Z","avatar_url":"https://github.com/github.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Summary\n\nThis project defines a category `animatedGIF` on `UIImage`.  The category defines two methods.  This method creates an animated `UIImage` using the frames of the GIF in `data`:\n\n    +[UIImage animatedImageWithAnimatedGIFData:(NSData *)data]\n\nThis method creates an animated `UIImage` using the frames of the GIF loaded from `url`:\n\n    +[UIImage animatedImageWithAnimatedGIFURL:(NSURL *)url]\n    \nLook at the comments in `UIImage+animatedGIF.h` for details.\n\nYou can build and run the project to see a trivial demo app.\n\n## To use this category in your own project\n\n1. Copy `UIImage+animatedGIF.h` and `UIImage+animatedGIF.m` to your project.\n2. Add `UIImage+animatedGIF.m` to your target's “Compile Sources” build phase, if you didn't tell Xcode to do that when you performed step 1.\n3. Add `ImageIO.framework` to your target's \"Link Binary With Libraries\" build phase.\n\n## Implementation notes\n\nThe implementation of this category uses the [Image I/O Framework](http://developer.apple.com/library/ios/#documentation/GraphicsImaging/Conceptual/ImageIOGuide/imageio_intro/ikpg_intro.html) to extract the images and durations from the GIF data.\n\n[Diego Peinador](https://github.com/diegopeinador) provided the inspiration for handling variable-frame-rate animations, although I didn't end up using his code.\n\n## Copyright or lack thereof\n\nThe contents of this repository are dedicated to the public domain, in accordance with the [CC0 1.0 Universal Public Domain Dedication](http://creativecommons.org/publicdomain/zero/1.0/), which is reproduced in the file `COPYRIGHT`.\n\nAuthor: Rob Mayoff\n2012-01-27\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub%2Fuiimage-from-animated-gif","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgithub%2Fuiimage-from-animated-gif","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub%2Fuiimage-from-animated-gif/lists"}