{"id":1429,"url":"https://github.com/liyong03/YLGIFImage","last_synced_at":"2025-08-02T04:31:04.642Z","repository":{"id":14617339,"uuid":"17334655","full_name":"liyong03/YLGIFImage","owner":"liyong03","description":"Async GIF image decoder and Image viewer supporting play GIF images. It just use very less memory.","archived":false,"fork":false,"pushed_at":"2020-12-19T01:04:07.000Z","size":3311,"stargazers_count":1771,"open_issues_count":14,"forks_count":201,"subscribers_count":42,"default_branch":"master","last_synced_at":"2025-07-26T11:03:12.827Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/liyong03.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-02T09:20:31.000Z","updated_at":"2025-04-04T16:57:18.000Z","dependencies_parsed_at":"2022-09-14T19:22:30.707Z","dependency_job_id":null,"html_url":"https://github.com/liyong03/YLGIFImage","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/liyong03/YLGIFImage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liyong03%2FYLGIFImage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liyong03%2FYLGIFImage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liyong03%2FYLGIFImage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liyong03%2FYLGIFImage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liyong03","download_url":"https://codeload.github.com/liyong03/YLGIFImage/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liyong03%2FYLGIFImage/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268330901,"owners_count":24233150,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-01-05T20:15:46.263Z","updated_at":"2025-08-02T04:31:03.718Z","avatar_url":"https://github.com/liyong03.png","language":"Objective-C","funding_links":[],"categories":["Media","Objective-C  Stars 1000以内排名整理","Objective-C","Uncategorized"],"sub_categories":["GIF","Other free courses","Uncategorized"],"readme":"YLGIFImage\n==========\n\nAsynchronized GIF image class and Image viewer supporting play/stop GIF images. \n\nIt just use very less memory. Following GIF usually will cost almost 600MB memory if it is fully decoded (800x600x389x4 Bytes), but using YLGIFImage, it just use about 30MB memory.\n\n\u003cimg src=\"./YLGIFImageDemo/YLGIFImageDemo/joy.gif\" align=\"middle\" width=\"320\" /\u003e\n\nFor this gif file, iOS Pinterest also will crash, but using YLGIFImage, it won't!\n\n####Swift support\nI created another project to implement YLGIFImage using swift, it's called [YLGIFImage-Swift](https://github.com/liyong03/YLGIFImage-Swift).\n\n####Get Start\nUsing [CocoaPods](http://cocoapods.org/) to get start, you can add following line to your Podfile:\n    \n    pod 'YLGIFImage'\n\n####Using it\nFor using YLGIFImage, it's very simple:\n\n    YLImageView* imageView = [[YLImageView alloc] initWithFrame:CGRectMake(0, 160, 320, 240)];\n    [self.view addSubview:imageView];\n    imageView.image = [YLGIFImage imageNamed:@\"joy.gif\"];\n\nHere is the demo looks like:\n\n\n\u003cimg align=\"middle\" src=\"./screenshot.png\" width=\"320\" /\u003e\n\nThanks\n==========\nThanks to [OLImageView](https://github.com/ondalabs/OLImageView)! I referred a lot to this project, especially using CADisplayLink to play the animation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliyong03%2FYLGIFImage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliyong03%2FYLGIFImage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliyong03%2FYLGIFImage/lists"}