Graphics not writing animated gif's with transparencies

Issue #123 invalid
Doug Blank created an issue

AnimatedGif does not write gifs with transparency (ignores alpha layer); uses a color as transparent color--defaults to color position 0

Comments (4)

  1. Doug Blank reporter

    Actually, it appears to be the saving of gifs that loses the transparency:

    • gif saved as png: ok
    • gif saved as gif: loses transparency
    • png saved as png: ok
    • png saved as gif: loses transparency
  2. Doug Blank reporter

    Ok, I think I understand now: gif's transparency is different from having an alpha channel (like png). In a gif, one color is designated as the "transparency color" and there is no idea of partially transparent... it either is, or isn't. I added an API to set the transparency color of a gif (untested). There may still be issues, but this one was a confusion on transparency with gifs.

  3. Log in to comment