currenlty, I did draw the image file from flash memory using below api;
but I wonder is there any way to draw the image which is on memory?
for example… .
image file is on S:/img/test.bin. so I just want to do like below;
is it possible?
when I try to do like below, there is no reponse on the screen
if is there any way, please let me know.
res = lv_fs_open(&f, “S:/img/test.bin”, LV_FS_MODE_RD);
char *buf = lv_mem_alloc(image_size); // we already knew the size of image.
res = lv_fs_read(&f, buf, image_size, &read_num);
lv_img_set_src(win_ctx->img, buf); // ???