Why use a sprite sheet
A sprite sheet puts many small images into one file. On the web, a single request for an icon set loads faster than dozens; in games, one texture with a frame map is faster to draw than separate images. Filemint builds the sheet and both description files for you.
- Packed places images tightly, tallest first, and picks the most compact sheet.
- Grid gives every image the same cell, ideal for animation frames.
- Row and Column keep a simple, predictable order.
CSS, JSON and retina
The CSS file defines a base class with the sheet as background and one class per sprite, named from the file names — icon-home.png becomes .sprite-icon-home. Choose the 2× sheet resolution when your images are drawn at double size: the CSS then shows them at half size for sharp results on high-density screens.
The JSON uses the familiar frames/meta structure with each sprite’s position and size. For an animated GIF, split it first with GIF to Frames. For vector icons, optimize the SVGs first.