Image not straight but angled


I am trying to load an image from unsplash using the image converter. For some reason the image renders at an angel (not straight). I was wandering if I am missing something

What MCU/Processor/Board and compiler are you using?

Simulator (eclipse)

What do you experience?

The image renders at an angel

What do you expect?

The image should be straight

Code to reproduce


void image(void)
	lv_obj_t * img = lv_img_create(lv_scr_act(), NULL);
	lv_img_set_src(img, &sunset_2);
	//lv_img_set_zoom(img, 500);

Screenshot and/or video



There was a similar issue earlier and updating the library to the newest version solved it.

Does it help for you too?

Yip all good. Thanks for your help

1 Like