lv_img_decoder_get_info() function
Get information about an image. Try the created image decoder one by one. Once one is able to get info that info will be used.
Arguments
src
the image source. E.g. file name or variable.
the image info will be stored here
Return value
LV_RES_OK: success; LV_RES_INV: wasn't able to get info about the image