palette

inline fun Bitmap.palette(crossinline paletteCallback: (palette: Palette?) -> Unit)

Creates palette async

Receiver

Bitmap

Parameters

paletteCallback

Function<@palette Palette?, Unit>


Synchronous palette generator from a bitmap