lv_img_buf_set_palette() function
Set the palette color of an indexed image. Valid only for `LV_IMG_CF_INDEXED1/2/4/8`
Arguments
dsc
pointer to an image descriptor
id
the palette color to set: - for `LV_IMG_CF_INDEXED1`: 0..1 - for `LV_IMG_CF_INDEXED2`: 0..3 - for `LV_IMG_CF_INDEXED4`: 0..15 - for `LV_IMG_CF_INDEXED8`: 0..255