emote2ss

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

README (919B)


      1 emote2ss = 'Emote to SpriteSheet' utility.
      2 
      3 License: BSD 2-Clause.
      4 
      5 Simple tool to expand a given animated .webp into a spritesheet of given columns count wide.
      6 
      7 At this moment command-line only, cross-platform GUI is the next step planned.
      8 
      9 Usage:
     10 `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
     11 
     12 Dependencies:
     13 Libraries: libwebp and libwebpdemux.
     14 Optional tools: feh
     15 
     16 Building:
     17 Only libraries above, C99 compiler, standard pkg-config and GNU Makefile are needed.
     18 To build simply run `make`.
     19 
     20 There is a small testcase to verify everything working properly:
     21 `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.