Slicing

Tile size Width and height of every grid cell, in pixels.
Offset Position of the first grid cell.
Gap Space between neighbouring grid cells.
Minimum area Ignore detected regions with fewer pixels than this.
Background Pixels close to this colour are treated as background. Tick Transparent for sheets with a transparent background.

Click a pixel in the image to use its colour, or press Esc to cancel.

Tolerance How much a pixel may differ from the background colour and still count as background. With a transparent background, the highest alpha that still counts as background.16
Row tolerance Maximum vertical variation allowed when automatically grouping sprites into rows.

Animation preview

Choose a group to preview.

Groups & sprites

JavaScript export

100%

Mouse & keyboard

Drag empty space
Draw a box
Drag a box
Move it, with any other selected boxes
Drag the blue pixel
Resize
Click the red pixel
Delete the box
Ctrl/⌘ or Shift click
Add to or extend the selection
Delete
Remove selected boxes
Esc
Clear selection or cancel sampling
Ctrl/⌘ Z
Undo (add Shift to redo)
Scroll
Zoom at the cursor
Middle-drag or Space drag
Pan

Are you sure?