GifImageView alternatives and similar packages
Based on the "ImageView Widget" category.
Alternatively, view GifImageView alternatives based on common mentions on social networks and blogs.
-
subsampling-scale-image-view
Highly configurable, easily extendable view with pan and zoom gestures for displaying huge images without loss of detail. Perfect for photo galleries, maps, building plans etc. -
TextDrawable
This light-weight library provides images with letter/text like the Gmail app. It extends the Drawable class thus can be used with existing/custom/network ImageView classes. Also included is a fluent interface for creating drawables and a customizable ColorGenerator. -
android-smart-image-view
Android ImageView replacement which allows image loading from URLs or contact address book, with caching -
gesture-imageview
This is a simple Android View class which provides basic pinch and zoom capability for images. -
CircularImageView
Custom view for circular images in Android while maintaining the best draw performance -
SelectableRoundedImageView
Android ImageView that supports different radiuses on each corner. It also supports oval(and circle) shape and border. This would be especially useful for using inside CardView which should be rounded only top left and top right corners(Don't forget to call setPreventCornerOverlap(false) on your cardview). -
android-cropimage
CropImage Activity from Gallery.apk packaged as a reusable Android library (4.0 and up). -
CropImageView
Widget allows you crop from whatever side in an ImageView. Currently Android only supports centerCrop type of cropping -
ByakuGallery
ByakuGallery is an open source Android library that allows the visualization of large images with gesture capabilities. This lib is based on AOSP Camera2. -
DexMovingImageView
DMIV aims to provide a flexible and customizable instrument for automated images moving on display. It provides scroll, gyroscope or time based moving. But you can create your own evaluator. -
Music Cover View
Subclass of ImageView that 'morphs' into a circle shape and can rotates. Useful to be used as album cover in Music apps. -
Android Parallax Image View
Scroll parallax ImageView -
AvatarImageGenerator
Android first letter avatar generator for image placeholder library . Letter avatar like Gmail Android best practice
Get performance insights in less than 4 minutes.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of GifImageView or a related project?
README
GifImageView
Android ImageView that handles Animated GIF images
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 all licence references and agreements mentioned in the GifImageView README section above
are relevant to that project's source code only.