{"id":15026663,"url":"https://github.com/felipecsl/gifimageview","last_synced_at":"2025-05-15T02:06:09.454Z","repository":{"id":17030661,"uuid":"19794801","full_name":"felipecsl/GifImageView","owner":"felipecsl","description":"Android ImageView that handles animated GIF images","archived":false,"fork":false,"pushed_at":"2023-04-03T00:46:15.000Z","size":4519,"stargazers_count":1166,"open_issues_count":11,"forks_count":274,"subscribers_count":36,"default_branch":"master","last_synced_at":"2025-05-15T02:06:08.331Z","etag":null,"topics":["android","animation","gif"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/felipecsl.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2014-05-14T20:20:24.000Z","updated_at":"2025-05-12T15:59:16.000Z","dependencies_parsed_at":"2024-01-31T23:14:31.923Z","dependency_job_id":null,"html_url":"https://github.com/felipecsl/GifImageView","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/felipecsl%2FGifImageView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipecsl%2FGifImageView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipecsl%2FGifImageView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipecsl%2FGifImageView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/felipecsl","download_url":"https://codeload.github.com/felipecsl/GifImageView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254259370,"owners_count":22040819,"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":["android","animation","gif"],"created_at":"2024-09-24T20:04:51.856Z","updated_at":"2025-05-15T02:06:09.436Z","avatar_url":"https://github.com/felipecsl.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GifImageView\n\nAndroid ImageView that handles Animated GIF images\n\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-GifImageView-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/1339)\n[![Build Status](https://travis-ci.org/felipecsl/GifImageView.svg?branch=master)](https://travis-ci.org/felipecsl/GifImageView)\n\n### Usage\n\nIn your ``build.gradle`` file:\n\n```groovy\ndependencies {\n    implementation 'com.felipecsl:gifimageview:2.2.0'\n}\n```\n\nIn your `Activity` class:\n\n```java\n@Override protected void onCreate(final Bundle savedInstanceState) {\n  super.onCreate(savedInstanceState);\n  gifView = findViewById(R.id.gifImageView);\n  gifView.setBytes(bitmapData);\n}\n\n@Override protected void onStart() {\n  super.onStart();\n  gifView.startAnimation();\n}\n\n@Override protected void onStop() {\n  super.onStop();\n  gifView.stopAnimation();\n}\n```\n\nIf you need to post-process the GIF frames, you can do that via ``GifImageView.setOnFrameAvailable()``.\nYou can see an example of that in the sample app included on the repository.\n\n```java\ngifImageView.setOnFrameAvailable(new GifImageView.OnFrameAvailable() {\n  @Override public Bitmap onFrameAvailable(Bitmap bitmap) {\n    return blurFilter.blur(bitmap);\n  }\n});\n```\n\nYou can also reset an animation to play again from the beginning `gifImageView.resetAnimation();` or show a specific frame of the animation `gifImageView.gotoFrame(3)`;\n\n### Demo\n\n![](https://raw.githubusercontent.com/felipecsl/GifImageView/master/demo.gif)\n\nBe sure to also check the [demo project](https://github.com/felipecsl/GifImageView/blob/master/app/src/main/java/com/felipecsl/gifimageview/app/MainActivity.java) for a sample of usage!\n\nSnapshots of the development version are available in [Sonatype's `snapshots` repository](https://oss.sonatype.org/content/repositories/snapshots/).\n\n### Contributing\n\n* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet\n* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it\n* Fork the project\n* Start a feature/bugfix branch\n* Commit and push until you are happy with your contribution\n* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.\n\n### Copyright and license\n\nCode and documentation copyright 2011- Felipe Lima.\nCode released under the [MIT license](https://github.com/felipecsl/GifImageView/blob/master/LICENSE.txt).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipecsl%2Fgifimageview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffelipecsl%2Fgifimageview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipecsl%2Fgifimageview/lists"}