Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/erodozer/magick-dumps
use imagemagick to create Godot animated textures
https://github.com/erodozer/magick-dumps
animation gif godot godot-plugin imagemagick utility
Last synced: 8 days ago
JSON representation
use imagemagick to create Godot animated textures
- Host: GitHub
- URL: https://github.com/erodozer/magick-dumps
- Owner: erodozer
- License: mit
- Created: 2023-06-02T03:31:49.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-27T03:23:01.000Z (about 1 year ago)
- Last Synced: 2024-04-29T00:17:08.614Z (7 months ago)
- Topics: animation, gif, godot, godot-plugin, imagemagick, utility
- Language: GDScript
- Homepage:
- Size: 8.79 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# magick_dumps 🧙♂️
Utility library integrating with the [imagemagick](https://imagemagick.org/) 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.