Skip to content

Commit

Permalink
Add more information about implicit --split-layers and --filename-format
Browse files Browse the repository at this point in the history
  • Loading branch information
dacap committed Dec 6, 2016
1 parent 729f19c commit 568f975
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,15 @@ calling `File > Save As` from the interface. Example:

Will generate `frame001.png`, `frame002.png`, etc. for each frame in `sprite.ase`.

On **v1.2-beta1**: You can specify
[--filename-format](#filename-format) parameters in the filename
directly. For example:

aseprite -b sprite.ase --save-as layer-{layer}-frame-{frame01}.png

It's like using [--split-layers](#split-layers) and
[--filename-format](#filename-format) implicitly.

## --palette

On **v1.2-beta2**: Changes the color palette of the last given sprite
Expand Down Expand Up @@ -170,6 +179,12 @@ the following command will generate 6 files (one for each frame/layer):
output (Layer 1) 2.png
output (Layer 1) 3.png

On **v1.2-beta1**: If you specify `{layer}` in the
[--save-as](#save-as) filename, the `--split-layers` is implicitly
used. For example

aseprite.exe -b with-layers.ase --save-as output-{layer}-{frame}.png

## --layer

Selects just one layer to be exported (hides all other layers). It
Expand Down Expand Up @@ -270,6 +285,9 @@ Will generate files like:
output-Background-1.png
output-Background-2.png

On **v1.2-beta1**: You can specify the filename format in the same
[--save-as](#save-as) argument.

## --list-layers

aseprite --list-layers file.ase
Expand Down Expand Up @@ -396,8 +414,10 @@ Generated files will be:
output (Layer 1) 2.png
output (Layer 1) 3.png

In a next version we will be able to configure the format of the
output filename. ([Issue 519](https://github.com/aseprite/aseprite/issues/519).)
On **v1.2-beta1**: You can specify [--split-layers](#split-layers) and
[--filename-format](#filename-format) implicity using something like:

aseprite.exe -b animation.ase --save-as output-{layer}.png

## Export an animation to a sprite sheet

Expand Down

0 comments on commit 568f975

Please sign in to comment.