Function lottie2gif::convert
source · [−]Expand description
Convert a lottie animation to a GIF file.
This is a lossy operation. GIF does not support full alpha channel. Even if you enable the alpha flag for background color, the rgb value is required. This is because semi-transparent pixels will be converted to non-transparent pixels, adding onto the background color. Only fully transparent pixels will remain transparent.