How to flip/mirror image

Hi All:
I would to flip/mirror a image not screen, but I just found rotate/zoom function for image API,
How can I do.
Thanks.

Hi @ephone0,

According to the documentation, you need to set the pivot for rotation. Also, I suggest you create a container (an object without style) and manipulate the object’s rotation instead of the image. I guess the LVGL v8 handles image rotation well.

By default, the pivot point of the rotation is the center of the image. It can be changed with lv_img_set_pivot(img, pivot_x, pivot_y) . 0;0 is the top left corne

More informations, check the official documentation