diff --git a/cli.md b/cli.md index 45d7ce6..7f3d721 100644 --- a/cli.md +++ b/cli.md @@ -55,6 +55,7 @@ Options: a separated image in the sheet --split-tags Save each tag as a separated file --split-slices Save each slice as a separated file + --split-grid Save each grid tile as a separated file --layer <name> or --import-layer <name> Include just the given layer in the sheet --all-layers Make all layers visible @@ -68,7 +69,11 @@ Options: --border-padding <value> Add padding on the texture borders --shape-padding <value> Add padding between frames --inner-padding <value> Add padding inside each frame - --trim Trim all images before exporting + --trim Trim whole sprite for --save-as + or individual frames for --sheet + --trim-sprite Trim the whole sprite (for --save-as and --sheet) + --trim-by-grid Trim all images by its correspondent grid boundaries before exporting + --extrude Extrude all images duplicating all edges one pixel --crop x,y,width,height Crop all the images to the given rectangle --slice <name> Crop the sprite to the given slice area --filename-format <fmt> Special format to generate filenames @@ -83,6 +88,7 @@ Options: --list-slices List slices of the next given sprite sprite or include slices in JSON data --oneframe Load just the first frame + --export-tileset Export only tilesets from visible tilemap layers -v, --verbose Explain what is being done --debug Extreme verbose mode and copy log to desktop -?, --help Display this help and exits @@ -299,6 +305,14 @@ files. It affects the [--save-as](#save-as) option. Same as doing: aseprite.exe -b sheet.ase --save-as part-{slice}.png +## --split-grid + + aseprite -b --split-grid tilemaps.png --sheet tiles.png + +Since **v1.3-beta21**: Indicates that [--sheet](#sheet) should export +each grid cell of the given file as a separate sprite in the sprite +sheet. + ## --layer Selects just one layer to be exported (hides all other layers). It @@ -399,6 +413,11 @@ options. Exports only the specified rectangle from all sprites/layers/cels. It affects [--sheet](#sheet) and [--save-as](#save-as) options. +## --extrude + +Since **v1.2-beta21**: Extrudes all images/sprites that are going to +be exported with [--sheet](#sheet) duplicating all edges one pixel. + ## --slice Since **v1.2-beta8**: @@ -562,6 +581,13 @@ useful to load just one frame in a image sequence (e.g. loading just to load just the first frame of a full animation (e.g. useful to create a thumbnail of the animation). +## --export-tileset + + aseprite -b --export-tileset tilemaps.aseprite --sheet tilesets-sprite-sheet.png + +Since **v1.3-beta21**: Indicates that [--sheet](#sheet) should export +tilesets of the visible/filtered layers in the given sprite. + ## --debug If you execute Aseprite with the `--debug` parameter in the command