Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 1.29 KB

readme.md

File metadata and controls

20 lines (11 loc) · 1.29 KB

magick_dumps 🧙‍♂️

Utility library integrating with the imagemagick runtime.

Current implemented functionality is specifically for providing a way of automating conversion of animated images, such as gifs and webp, directly to Godot compatible resources.

This was originally reated for the sake of providing support for rendering remote content from Twitch's API at runtime for use in chatbox overlays.

Important

Resources generated by this can end up significantly larger than the source, even with the ZSTD compression that Godot applies to binaries. This is caused by having to convert all frames to PNGs, a Godot compatible image format with transparency support, which may not have as good compression as the original codec used for the source animation format.

I have personally seen 2mb webp files explode to over 20mb res blobs. They still load quickly and render accurately, you just have to be aware of space constraints in the target directories that the files are being dumped to.

Requirements

This has a hard requirement on a binary of imagemagick being installed on the user's system, or provided as an executable with your application.