Zulko / moviepy

Video editing with Python
https://zulko.github.io/moviepy/
MIT License
12.07k stars 1.51k forks source link

Resizable rounded rectangle #2194

Closed LindaLawton closed 3 weeks ago

LindaLawton commented 3 weeks ago

I have been trying to figure out how to create a resizable rounded rectangle for a while now.

image

What I have done is created a system something like a sprite in game development. I have a main image that i then chop up and reuse to stretch the image horizontally and vertically.

This as you may guess leads to a lot of image clips. one for each corner then stretching the middle chop sections.

The more clips i get the longer it takes to generate the video.

Is there a better way of doing this?