How to efficiently flip(mirror) an image on X or Y axis


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


What LVGL version are you using?


What do you want to achieve?

Efficiently flip images runtime. Rationale: Some images on the GUI can be re-used in flipped/mirrored version, therefore saving precious resources.

What have you tried so far?

Rotation, but only useful for symmetric images.

Re-creating a flipped copy of the original image in RAM, inefficient

Bumping the topic, is that feasible? I’d imagine a flag in the image definitions that indicates reversed drawing.
I’d be happy to work on that if I get some pointers on what needs to be changed…


I would also find this very usefull.

Again some pionters would be greatly apreciated, save sifting through the entire source code.