A problem with this approach, however, is that due to the unclear patent situation for GIF's compression algorithm it may be difficult to generate layered GIFs online. Generating multipart PNGs, as described in the next section, is more flexible, since you may generate a new animation for each participant on the fly.