[][src]Function lvgl::widgets::img::decoder_set_info_cb

pub fn decoder_set_info_cb(
    decoder: *mut lv_img_decoder_t,
    info_cb: lv_img_decoder_info_f_t
) -> MynewtResult<()>

Set a callback to get information about the image

  • decoder: pointer to an image decoder
  • info_cb: a function to collect info about an image (fill an lv_img_header_t struct)