Skip to content

Transparency does not work as expected in gif creation #3

@ojensen5115

Description

@ojensen5115

Thank you for this excessively fun implementation! While playing around with it, I noticed that transparency doesn't seem to work quite right in GIF mode.

When glitching a reasonably complex image with a transparent background, the background appears to turn black:
square2 glitched_square2

Interestingly, when glitching a single-color image with a transparent background, I get a black background again but the blue rectangle has become transparent:
square glitched_square

As such, I suspect this results from not keeping a constant palette when operating over the individual frames. Note that this seems to occur during the final combination and saving of the frames, as the individual frame files written to the Glitched GIF directory all appear to be correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions