As well as the GUI client, Spriter also includes a command line tool for creating sprite sheets. The tool, sprycmd.exe
, is located in the Spriter application folder.
SPRYCMD project [/OUTPUT[:filename] | /-OUTPUT] [/F:format]
[/CSS[:filename] | /-CSS] [/HTML[:filename] | /-HTML]
[/S [/NORESULTS]]
[/NOHEADER]
[/LOAD:filename]
project | Specifies the source Spriter project. Can also be specified via the /PROJECT switch. |
/OUTPUT:[filename] | Generates sprite sheet output. If the /OUTPUT flag is omitted, the image export option of the source project is used. If the filename attribute is not specified, the image export filename of the source project is used. |
/-OUTPUT | Prevents sprite sheet output from being generated, regardless of project settings. |
/F:format | Overrides a projects output image format. Valid formats are: BMP , GIF , JPG , PNG , TIF . Default is as by the source project. |
/CSS:[filename] | Generates CSS output. If the /CSS flag is omitted, the CSS export option of the source project is used. If the filename attribute is not specified, the CSS export filename of the source project is used. |
/-CSS | Prevents CSS output from being generated, regardless of project settings. |
/HTML:[filename] | Generates HTML output. If the /HTML flag is omitted, the HTML export option of the source project is used. If the filename attribute is not specified, the HTML export filename of the source project is used. |
/-HTML | Prevents HTML output from being generated, regardless of project settings. |
/SPRITE | Generates sprite output. If the /SPRITE flag is omitted, the sprite export option of the source project is used. |
/-SPRITE | Prevents sprite output from being generated, regardless of project settings. |
/NOHEADER | Prevents the version header from being displayed. |
/S | Saves the source project after a successful export |
/NORESULTS | Can only be used with the /S flag. When set, it forces the last export result information to be excluded from the source project. Do not use this option if you use CSS merge functionality. |