From 4de7ebefbf86897b6240a576a4ebc1a7bb111b82 Mon Sep 17 00:00:00 2001 From: Florian Date: Wed, 27 Mar 2024 05:18:25 +0100 Subject: [PATCH] doc: update help output --- README.md | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b6ed64b..03f56d7 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,8 @@ Arguments: Options: -l, --lua Enable lua output generation + -p, --prefix + Prefix to add to the output file name [default: ] -r, --recursive Recursive search for images. Each folder will be a separate sprite sheet -t, --tile-resolution @@ -47,6 +49,11 @@ Options: Set when this is considered a high resolution texture --no-crop Set when the sprites should not be cropped + -s, --scale + Set a scaling factor to rescale the used sprites by. + Values < 1.0 will shrink the sprites. Values > 1.0 will enlarge them. [default: 1] + --scale-filter + The scaling filter to use when scaling sprites [default: catmull-rom] [possible values: nearest, triangle, catmull-rom, gaussian, lanczos3] ``` ### Icon @@ -57,16 +64,15 @@ Generate a mipmap icon from a folder of images The individual images are used as the respective mip levels and combined into a single image -Usage: spritter icon +Usage: spritter icon [OPTIONS] Arguments: - - Folder containing the individual sprites - - - Output folder + Folder containing the individual sprites + Output folder Options: -l, --lua Enable lua output generation + -p, --prefix + Prefix to add to the output file name ```