Using the command line interface

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.

Usage

SPRYCMD project [/OUTPUT[:filename] | /-OUTPUT] [/F:format] 
                [/CSS[:filename] | /-CSS] [/HTML[:filename] | /-HTML] 
                [/S [/NORESULTS]]
                [/NOHEADER]
                [/LOAD:filename]

Parameters

projectSpecifies 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.
/-OUTPUTPrevents sprite sheet output from being generated, regardless of project settings.
/F:formatOverrides 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.
/-CSSPrevents 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.
/-HTMLPrevents HTML output from being generated, regardless of project settings.
/SPRITEGenerates sprite output. If the /SPRITE flag is omitted, the sprite export option of the source project is used.
/-SPRITEPrevents sprite output from being generated, regardless of project settings.
/NOHEADERPrevents the version header from being displayed.
/SSaves the source project after a successful export
/NORESULTSCan 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.