[SOLVED] Need help for my GUI (render2d)

Hello everyone.

The frames of my GUI need a specific background resize mode.

It’s a basic process, you start from a small image, cut it in 9 part and resize those parts as explain below :

My question in how I can get the 9 subrects of the image and how I can render the background into a new texture ?

Thanks in advance.

EDIT: It’s exactly what I need, thanks you.

Hi, you could use Panda’s images handling tools, you could look at here.