Creates palette async
Bitmap
Function<@palette Palette?, Unit>
Synchronous palette generator from a bitmap