A bare bones tool that to pack all images in a given directory into a single graphic, optionally generating sufficient CSS to use the sprite sheet in HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
resources
src
.editorconfig
.gitignore
CHANGELOG.md
Cyotek.Spriter.QuickPack.sln
LICENSE.md
README.md

README.md

Cyotek Spriter Quick Pack

A bare bones tool that you can use to pack all images in a given directory into a single graphic, and optionally generate the sufficient CSS required to use the sprite sheet in HTML pages.

If you need more functionality than this tool offers, you can always check out Cyotek Spriter which has a great deal more functionality.

Options

The following list details the arguments that sprpack.exe accepts. All are optional.

  • path - specifies the path to process. Defaults to the current directory
  • mask - comma separated list of file masks to search. Defaults to *.png
  • out - the file name of the sprite sheet graphic. Defaults to sheet.png
  • css - the file name where the CSS will be written. If not specified, CSS will not be generated
  • class - the base CSS class name. Ignored if /css is not set

As you can see, it is a very simple affair!

Note! The tool will overwrite output files without prompting