{"id":17044953,"url":"https://github.com/codenameone/animatedgifsupport","last_synced_at":"2025-03-23T02:29:31.222Z","repository":{"id":148683920,"uuid":"99468959","full_name":"codenameone/AnimatedGifSupport","owner":"codenameone","description":"Support for using animated GIFs as images in Codename One","archived":false,"fork":false,"pushed_at":"2017-12-26T04:56:44.000Z","size":106,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-28T05:41:53.902Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.codenameone.com/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codenameone.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-06T06:36:24.000Z","updated_at":"2024-09-16T05:02:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"e75e4cf2-11da-4c21-967e-a785b2f3a5c4","html_url":"https://github.com/codenameone/AnimatedGifSupport","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/codenameone%2FAnimatedGifSupport","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenameone%2FAnimatedGifSupport/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenameone%2FAnimatedGifSupport/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenameone%2FAnimatedGifSupport/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codenameone","download_url":"https://codeload.github.com/codenameone/AnimatedGifSupport/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245047799,"owners_count":20552420,"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-10-14T09:36:01.068Z","updated_at":"2025-03-23T02:29:31.197Z","avatar_url":"https://github.com/codenameone.png","language":"Java","readme":"# Animated Gif Support\n\nThis library adds support for using animated GIFs as images in Codename One. It's based on [this code](https://gist.github.com/devunwired/4479231) but was adapted for simple usage in Codename One.\n\nYou can use the GifImage as any other image in Codename One:\n\n````java\nForm hi = new Form(\"Gif\", new BorderLayout());\n\ntry {\n    hi.add(CENTER, new ScaleImageLabel(GifImage.decode(getResourceAsStream(\"/giphy-downsized.gif\"), 1177720)));\n} catch(IOException err) {\n    log(err);\n}\nhi.show();\n````\n\nNotice that you need to pass in the length of the input stream that is decoded when opening a gif.\n\n## Changelog\n### 2017-12-25\n#### Modified\n- Loop checking inside animate() function yields sensible results for finite looped gifs.\n- Animate function no longer skips last frame.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodenameone%2Fanimatedgifsupport","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodenameone%2Fanimatedgifsupport","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodenameone%2Fanimatedgifsupport/lists"}