Need help with obj_set_style_bg_img_src

I would like to know what obj_set_style_bg_img_src is able to use as the data for an image?

There are other things like buttons that can use a file path, an lv_dsc_t structure or an array of uint8_t as valid image sources.

Hi @kdschlosser ,

Looking into the source code it appears when a background image specified in a style is drawn it uses the same lv_img_src_get_type(source) function to determine type as the lv_img_set_src() function so I believe you can use any of the same source definitions…

Kind Regards,