How do I make a video animation with transparent background?

Chris Angelico rosuav at gmail.com
Tue Aug 9 22:04:26 EDT 2016


On Wed, Aug 10, 2016 at 11:50 AM, Lawrence D’Oliveiro
<lawrencedo99 at gmail.com> wrote:
> On Wednesday, August 10, 2016 at 12:44:30 AM UTC+12, Martin Schöön wrote:
>
>> What I have failed to achieve is a graph with a transparent
>> background.
>
> While it is possible to render image frames with alpha transparency channels, as far as I know none of the motion-video image formats supports transparency. They all assume that the image fills the entire frame and completely covers anything behind.
>

Animated GIFs support transparency. Are you happy with the framerates
you can get in a simple GIF?

But this isn't really a Python question.

ChrisA



More information about the Python-list mailing list