emote2ss

Animated webp to spritesheets converting tool
git clone git://bsandro.tech/emote2ss
Log | Files | Refs | README

commit 70e64aa7541153aba8d6226200093b40432ce413
parent 2255ef0869265b417b64d6415456684eca90a6d6
Author: bsandro <email@bsandro.tech>
Date:   Thu, 13 Jul 2023 02:32:49 +0300

Expanded README, added TODO

Diffstat:
MREADME | 12+++++++++++-
ATODO | 4++++
2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/README b/README @@ -5,5 +5,15 @@ Simple tool to expand a given animated .webp into a spritesheet of given columns At this moment command-line only, cross-platform GUI is the next step planned. Usage: +`emote2ss file.webp COLUMNS`, e.g. `emote2ss MyAnimationFile.webp 10` - expands animated file into a spritesheet of 10 frames wide. The output file is named the same as the source with the prefix "atlas_", e.g. FlanClap.webp produces atlas_FlanClap.webp -`emote2ss file.webp COLUMNS`, e.g. `emote2ss MyAnimationFile.webp 10` - expands animated file into a spritesheet of 10 frames wide. +Dependencies: +Libraries: libwebp and libwebpdemux. +Optional tools: feh + +Building: +Only libraries above, C99 compiler, standard pkg-config and GNU Makefile are needed. +To build simply run `make`. + +There is a small testcase to verify everything working properly: +`make test` - it builds the utility and runs it against bundled "FlanClap.webp" animation, and then tries to launch `feh` to preview the resulting image. diff --git a/TODO b/TODO @@ -0,0 +1,4 @@ +- Decide on GUI toolkit +- Build GUI with a selector of columns count and real time preview of the resulting spritesheet +- Add 'debug' and 'release' builds into makefile +- Wrap errors into sane messages and not just asserts