public class SkiaImageDecoder extends Object implements ImageDecoder
ImageDecoder
 using Android's BitmapFactory, based on the Skia library. This
 works well in most circumstances and has reasonable performance, however it has some problems
 with grayscale, indexed and CMYK images.| Constructor and Description | 
|---|
| SkiaImageDecoder() | 
| SkiaImageDecoder(Bitmap.Config bitmapConfig) | 
public SkiaImageDecoder()
public SkiaImageDecoder(Bitmap.Config bitmapConfig)
public Bitmap decode(Context context, Uri uri) throws Exception
ImageDecoderfile:///scard/picture.jpg
 file:///android_asset/picture.png
 android.resource://com.example.app/drawable/picturedecode in interface ImageDecodercontext - Application contexturi - URI of the imageException - if decoding fails.