#texture #packer #cli-applications #cli

bin+lib yatp-cli

Yet Another Texture Packer - a small and simple CLI application to pack multiple textures/sprites into a texture atlas/sprite sheet

2 stable releases

1.0.1 Aug 30, 2022

#26 in #packer

MIT license

21KB
454 lines

YATP (Yet Another Texture Packer)

A small and simple CLI application to pack multiple textures/sprites into a texture atlas/sprite sheet.

Installation

Through Cargo

cargo install yatp-cli

Usage

yatp-cli [OPTIONS] <INPUTS...>

Options:

  • -o - Name of the output files, default: atlas;
  • -d - Dictionary format, if not provided - dictionary won't be serialized;
  • -i - Image format of the atlas, default: png;
  • -h - Height of the texture atlas, default: 1024;
  • -w - Weight of the texture atlas, default: 1024;
  • -g - Gap between packed textures, default: 0;
  • --help - Prints help;
  • -V - Prints version;

lib.rs:

YATP (Yet Another Texture Packer)

A small and simple CLI application to pack multiple textures/sprites into a texture atlas/sprite sheet.

Dependencies

~9–20MB
~233K SLoC