Image not straight but angled

Description

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


LV_IMG_DECLARE(sunset_2);

void image(void)
{
	lv_obj_t * img = lv_img_create(lv_scr_act(), NULL);
	lv_img_set_src(img, &sunset_2);
	//lv_img_set_angle(img,-260);
	//lv_img_set_zoom(img, 500);
	lv_obj_align(img,NULL,LV_ALIGN_CENTER,0,0);
}

Screenshot and/or video



sunset_2

Hi,

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