allowRgb565

fun <Error class: unknown class>.allowRgb565(enable: Boolean): <Error class: unknown class>

Allow automatically using Bitmap.Config.RGB_565 when an image is guaranteed to not have alpha.

This will reduce the visual quality of the image, but will also reduce memory usage.

Prefer only enabling this for low memory and resource constrained devices.


fun <Error class: unknown class>.allowRgb565(enable: Boolean): <Error class: unknown class>
val <Error class: unknown class>.allowRgb565: Boolean
val <Error class: unknown class>.allowRgb565: Boolean
val <Error class: unknown class>.allowRgb565: <Error class: unknown class><Boolean>