Class AvifStreamBitmapDecoder
- java.lang.Object
-
- com.bumptech.glide.integration.avif.AvifStreamBitmapDecoder
-
- All Implemented Interfaces:
com.bumptech.glide.load.ResourceDecoder<java.io.InputStream,android.graphics.Bitmap>
public final class AvifStreamBitmapDecoder extends java.lang.Object implements com.bumptech.glide.load.ResourceDecoder<java.io.InputStream,android.graphics.Bitmap>A GlideResourceDecodercapable of decoding Avif Images.
-
-
Constructor Summary
Constructors Constructor Description AvifStreamBitmapDecoder(java.util.List<com.bumptech.glide.load.ImageHeaderParser> parsers, AvifByteBufferBitmapDecoder avifByteBufferDecoder, com.bumptech.glide.load.engine.bitmap_recycle.ArrayPool arrayPool)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)booleanhandles(java.io.InputStream source, com.bumptech.glide.load.Options options)
-
-
-
Constructor Detail
-
AvifStreamBitmapDecoder
public AvifStreamBitmapDecoder(java.util.List<com.bumptech.glide.load.ImageHeaderParser> parsers, AvifByteBufferBitmapDecoder avifByteBufferDecoder, com.bumptech.glide.load.engine.bitmap_recycle.ArrayPool arrayPool)
-
-
Method Detail
-
decode
@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- Specified by:
decodein interfacecom.bumptech.glide.load.ResourceDecoder<java.io.InputStream,android.graphics.Bitmap>- Throws:
java.io.IOException
-
handles
public boolean handles(java.io.InputStream source, com.bumptech.glide.load.Options options) throws java.io.IOException- Specified by:
handlesin interfacecom.bumptech.glide.load.ResourceDecoder<java.io.InputStream,android.graphics.Bitmap>- Throws:
java.io.IOException
-
-