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

Description

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

ESP32

What LVGL version are you using?

7.11

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…

Bump.

I would also find this very usefull.

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