goostengine / goost

A general-purpose, extensible and customizable C++ extension for Godot Engine.
https://goostengine.github.io/
MIT License
479 stars 18 forks source link

Add support for transparency while saving GIFs #126

Closed Xrayez closed 3 years ago

Xrayez commented 3 years ago

animated_rotation


All you have to do is to add frames in FORMAT_RGBA8 format to ImageFrames before saving with save_gif().

Note that transparency may not be supported in some GIF decoders/renderers.