ImageDecoder

Mix using of ImageDecoder and ObjectAnimator

Last posts show how to " Display animated GIF using ImageDecoder " and " Apply PostProcess for ImageDecoder ". This example I try to mix using of ImageDecoder and ObjectAnimator, to apply animation on animated GIF. Modify MainActiv…

Apply PostProcess for ImageDecoder

Last post show a simple example to " Display animated GIF using ImageDecoder ". This example show how to implement our own PostProcess, to apply effect on the decoded images. Modify layout, to have two ImageView: <?xml version="1.0&q…

Display animated GIF using ImageDecoder

android.graphics.ImageDecoder , introduced from API 28,  is a class for converting encoded images (like PNG, JPEG, WEBP, GIF, or HEIF) into Drawable or Bitmap objects. Before API 28, it have no official supporte for animated GIF, with ImageDecoder, we…

Load More
That is All