BitmapFactoryDecoder

class BitmapFactoryDecoder(source: ImageSource, options: Options, parallelismLock: Semaphore, exifOrientationPolicy: ExifOrientationPolicy) : Decoder

The base Decoder that uses BitmapFactory to decode a given ImageSource.

Constructors

BitmapFactoryDecoder
Link copied to clipboard
fun BitmapFactoryDecoder(source: ImageSource, options: Options, parallelismLock: Semaphore = Semaphore(Int.MAX_VALUE), exifOrientationPolicy: ExifOrientationPolicy = ExifOrientationPolicy.RESPECT_PERFORMANCE)

Types

Factory
Link copied to clipboard
class Factory(maxParallelism: Int, exifOrientationPolicy: ExifOrientationPolicy) : Decoder.Factory

Functions

decode
Link copied to clipboard
open suspend override fun decode(): <ERROR CLASS>
Decode the SourceResult provided by Factory.create or return 'null' to delegate to the next Factory in the component registry.