All Projects → felipecsl → Gifimageview

felipecsl / Gifimageview

Licence: mit
Android ImageView that handles animated GIF images

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Gifimageview

Giflossy
Merged into Gifsicle!
Stars: ✭ 937 (-16.79%)
Mutual labels:  gif
Gifmagic
💈 Gif maker and extractor in Swift
Stars: ✭ 38 (-96.63%)
Mutual labels:  gif
Ar Gif
Easy to use augmented reality web components
Stars: ✭ 52 (-95.38%)
Mutual labels:  gif
Asciicast2gif
Generate GIF animations from asciicasts (asciinema recordings)
Stars: ✭ 874 (-22.38%)
Mutual labels:  gif
Moviepy
Video editing with Python
Stars: ✭ 8,795 (+681.08%)
Mutual labels:  gif
Gif rain code
生成gif数字雨动态头像
Stars: ✭ 40 (-96.45%)
Mutual labels:  gif
X11 Recorder
xrec helps you capture any area of your screen either as a screenshot or record a gif file.
Stars: ✭ 17 (-98.49%)
Mutual labels:  gif
Qrcode
💮 amazing QRCode generator in Python (supporting animated gif) - Python amazing 二维码生成器(支持 gif 动态图片二维码)
Stars: ✭ 8,613 (+664.92%)
Mutual labels:  gif
Peek
Peek makes it easy to create short screencasts of a screen area. It was built for the specific use case of recording screen areas, e.g. for easily showing UI features of your own apps or for showing a bug in bug reports. With Peek, you simply place the Peek window over the area you want to record and press "Record". Peek is optimized for generating animated GIFs, but you can also directly record to WebM or MP4 if you prefer.
Stars: ✭ 8,408 (+646.71%)
Mutual labels:  gif
Gifsee.js
A modern, vanilla JavaScript gif previewer and loader.
Stars: ✭ 48 (-95.74%)
Mutual labels:  gif
Pm2.5 Idw Map
PM2.5 IDW Map from PM2.5 open data portal
Stars: ✭ 14 (-98.76%)
Mutual labels:  gif
Glide
An image loading and caching library for Android focused on smooth scrolling
Stars: ✭ 32,046 (+2746%)
Mutual labels:  gif
Aimage
An animated gif & apng engine for iOS in Swift. Have a great performance on memory and cpu usage.
Stars: ✭ 1,014 (-9.95%)
Mutual labels:  gif
Sdwebimageswiftui
SwiftUI Image loading and Animation framework powered by SDWebImage
Stars: ✭ 844 (-25.04%)
Mutual labels:  gif
Mojito
微信、bilibili大图、长图、gif、视频、自定义view的转场效果,The transition effect of wechat, bilibili large image, long image, GIF, video and custom view
Stars: ✭ 1,068 (-5.15%)
Mutual labels:  gif
Is Animated
Checks if image is animated 🎞
Stars: ✭ 17 (-98.49%)
Mutual labels:  gif
Gifloader
An Android Library to load your GIF files
Stars: ✭ 38 (-96.63%)
Mutual labels:  gif
Gifmaker
Android 平台下合成 GIF,使用多线程优化的版本,20张/12s
Stars: ✭ 62 (-94.49%)
Mutual labels:  gif
Movtogif Cli
📺 Convert mov/mp4 to high-quality animated gifs
Stars: ✭ 56 (-95.03%)
Mutual labels:  gif
Format parser
file metadata parsing, done cheap
Stars: ✭ 46 (-95.91%)
Mutual labels:  gif

GifImageView

Android ImageView that handles Animated GIF images

Android Arsenal Build Status

Usage

In your build.gradle file:

dependencies {
  compile 'com.felipecsl:gifimageview:2.2.0'
}

In your Activity class:

@Override protected void onCreate(final Bundle savedInstanceState) {
  super.onCreate(savedInstanceState);
  gifView = findViewById(R.id.gifImageView);
  gifView.setBytes(bitmapData);
}

@Override protected void onStart() {
  super.onStart();
  gifView.startAnimation();
}

@Override protected void onStop() {
  super.onStop();
  gifView.stopAnimation();
}

If you need to post-process the GIF frames, you can do that via GifImageView.setOnFrameAvailable(). You can see an example of that in the sample app included on the repository.

gifImageView.setOnFrameAvailable(new GifImageView.OnFrameAvailable() {
  @Override public Bitmap onFrameAvailable(Bitmap bitmap) {
    return blurFilter.blur(bitmap);
  }
});

You can also reset an animation to play again from the beginning gifImageView.resetAnimation(); or show a specific frame of the animation gifImageView.gotoFrame(3);

Demo

Be sure to also check the demo project for a sample of usage!

Snapshots of the development version are available in Sonatype's snapshots repository.

Contributing

  • Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
  • Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
  • Fork the project
  • Start a feature/bugfix branch
  • Commit and push until you are happy with your contribution
  • Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.

Copyright and license

Code and documentation copyright 2011- Felipe Lima. Code released under the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].