9-Slicing a rectangle with tilted edges

So, I have this “rectangular” image here. As you can see, it has tilted edges.
Bildschirmfoto 2024-12-27 um 23.11.00

I want to scale the image but when I do so, it just messes up the tilting on said edges (makes it less or more) which I don’t want. I figured 9-Slicing was the solution but I couldn’t figure out a good way of slicing it yet.

I tried it like this:
Bildschirmfoto 2024-12-27 um 23.14.48
Or even combining all the slice points on the middle of the image but everything resulted in either deformation and wrong positioning of the image or made the edge deformation worse.

Can anyone help me?

1 Like