Skip to content

AnimGif #5781

@doublex

Description

@doublex

Some AnimGifs are not transparent:

import PIL.Image
with PIL.Image.open('/tmp/AnimGif.gif', 'r') as image:
    for index, frame in enumerate(PIL.ImageSequence.Iterator(image)):
        #frame = frame.convert('RGBA')
        frame.save('/tmp/m/'+str(index)+'.png', 'PNG')

Image:
AnimGif

For example frame 6 and 19:
6
19

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions