public final class AvifStreamBitmapDecoder
extends java.lang.Object
implements com.bumptech.glide.load.ResourceDecoder<java.io.InputStream,android.graphics.Bitmap>
ResourceDecoder capable of decoding Avif Images.| Constructor and Description |
|---|
AvifStreamBitmapDecoder(java.util.List<com.bumptech.glide.load.ImageHeaderParser> parsers,
AvifByteBufferBitmapDecoder avifByteBufferDecoder,
com.bumptech.glide.load.engine.bitmap_recycle.ArrayPool arrayPool) |
| Modifier and Type | Method and Description |
|---|---|
com.bumptech.glide.load.engine.Resource<android.graphics.Bitmap> |
decode(java.io.InputStream source,
int width,
int height,
com.bumptech.glide.load.Options options) |
boolean |
handles(java.io.InputStream source,
com.bumptech.glide.load.Options options) |
public AvifStreamBitmapDecoder(java.util.List<com.bumptech.glide.load.ImageHeaderParser> parsers,
AvifByteBufferBitmapDecoder avifByteBufferDecoder,
com.bumptech.glide.load.engine.bitmap_recycle.ArrayPool arrayPool)
@Nullable
public com.bumptech.glide.load.engine.Resource<android.graphics.Bitmap> decode(java.io.InputStream source,
int width,
int height,
com.bumptech.glide.load.Options options)
throws java.io.IOException
decode in interface com.bumptech.glide.load.ResourceDecoder<java.io.InputStream,android.graphics.Bitmap>java.io.IOExceptionpublic boolean handles(java.io.InputStream source,
com.bumptech.glide.load.Options options)
throws java.io.IOException
handles in interface com.bumptech.glide.load.ResourceDecoder<java.io.InputStream,android.graphics.Bitmap>java.io.IOException