public interface ImageDecoder
BitmapFactory
based on the Skia library to be replaced with a custom class.| Modifier and Type | Method and Description |
|---|---|
android.graphics.Bitmap |
decode(android.content.Context context,
android.net.Uri uri)
Decode an image.
|
android.graphics.Bitmap decode(android.content.Context context,
android.net.Uri uri)
throws java.lang.Exception
file:///scard/picture.jpg
file:///android_asset/picture.png
android.resource://com.example.app/drawable/picturecontext - Application contexturi - URI of the imagejava.lang.Exception - if decoding fails.