ParcelFileDescriptorBitmapDecoder

class ParcelFileDescriptorBitmapDecoder : ResourceDecoder<T, Z>

Decodes Bitmaps from ParcelFileDescriptors.

Constructors

Link copied to clipboard
open fun ParcelFileDescriptorBitmapDecoder(downsampler: Downsampler)

Functions

Link copied to clipboard
open fun decode(    source: ParcelFileDescriptor,     width: Int,     height: Int,     options: Options): Resource<Bitmap>
Returns a decoded resource from the given data or null if no resource could be decoded.
Link copied to clipboard
open fun handles(source: ParcelFileDescriptor, options: Options): Boolean
Returns true if this decoder is capable of decoding the given source with the given options, and false otherwise.