[−][src]Function lvgl::widgets::img::decoder_built_in_open
pub fn decoder_built_in_open(
decoder: *mut lv_img_decoder_t,
dsc: *mut lv_img_decoder_dsc_t
) -> MynewtResult<lv_res_t>
Open a built in image
decoder
: the decoder where this function belongsdsc
: pointer to decoder descriptor.src
,style
are already initialized in it. Return: LV_RES_OK: the info is successfully stored inheader
; LV_RES_INV: unknown format or other error.