ImageDecodingProps

data class ImageDecodingProps(    val filename: String = "unknown",     val width: Int? = null,     val height: Int? = null,     val premultiplied: Boolean? = null,     val asumePremultiplied: Boolean = false,     val requestedMaxSize: Int? = null,     val debug: Boolean = false,     val preferKotlinDecoder: Boolean = false,     val tryNativeDecode: Boolean = true,     val format: ImageFormat? = RegisteredImageFormats,     val out: Bitmap? = null,     var extra: ExtraType = null) : BaseImageDecodingProps, Extra

Constructors

Link copied to clipboard
constructor(    filename: String = "unknown",     width: Int? = null,     height: Int? = null,     premultiplied: Boolean? = null,     asumePremultiplied: Boolean = false,     requestedMaxSize: Int? = null,     debug: Boolean = false,     preferKotlinDecoder: Boolean = false,     tryNativeDecode: Boolean = true,     format: ImageFormat? = RegisteredImageFormats,     out: Bitmap? = null,     extra: ExtraType = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val debug: Boolean = false
Link copied to clipboard
Link copied to clipboard
open override var extra: ExtraType
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val height: Int? = null
Link copied to clipboard
val out: Bitmap? = null

Provides an out parameter to reuse an existing Bitmap to reduce allocations.

Link copied to clipboard
Link copied to clipboard
val premultiplied: Boolean? = null
Link copied to clipboard
Link copied to clipboard
val requestedMaxSize: Int? = null
Link copied to clipboard
Link copied to clipboard
val width: Int? = null

Functions

Link copied to clipboard
fun getSampleSize(originalWidth: Int, originalHeight: Int): Int
Link copied to clipboard
Link copied to clipboard