精灵图分割器

将精灵图切割为单独的单元格图片。选择行列或固定单元格尺寸,然后下载每一帧。

文件仅保留在你的设备上——所有操作都在浏览器中完成

将精灵图拖放到此处

或

Extracted sprites appear here as soon as you drop a sprite sheet.

如何分割精灵图

  1. 将一张精灵图拖入上传区域,或点击从设备中选择。
  2. 选择"行 & 列"以均匀划分图片,或选择"固定单元格尺寸"以指定精确的像素尺寸。
  3. 如果您的精灵图带有内边距,请设置单元格之间的间距。
  4. 预览提取出的单元格,并单独或一次性下载。

常见问题

我的图片会上传到服务器吗?

不会。分割完全使用 Canvas API 在您的浏览器中运行,因此您的图片绝不会离开您的设备。

两种模式有什么区别?

"行 & 列"将图片均匀划分为固定网格。"固定单元格尺寸"使用精确的像素尺寸,并只保留完整容纳的单元格。

剩余的部分单元格会怎样?

在"固定单元格尺寸"模式下,任何无法构成完整单元格的部分行或列都会被丢弃,因此每个输出都是干净、完整的精灵。

这个工具免费吗?

是的。Handio 的每个工具都免费,无需注册、没有限制、没有水印。

Can I download all frames at once?

Yes. Download All saves every sprite as a separate PNG, and Download ZIP puts all frames into one archive. Each sheet is processed in one go with a cap of 256 sprites; the status line tells you if a sheet was truncated.

My sprite sheet has padding between frames - how do I split it?

Set the spacing value to the gap between frames and the border value for padding around the edge of the sheet, then check the layout preview to see that the cells line up with your sprites before downloading.

How does Auto-Detect work?

Auto-Detect reads the alpha channel and finds every connected region that is not transparent, drawing a bounding box around each sprite. It works best with PNG or WebP sheets on a transparent background; the merge value keeps shadows and detached parts together in one frame.

相关工具

为什么要分割精灵图?

精灵图会将多个帧合并到一张图片中,用于游戏引擎和动画。将它们重新拆分为单独的文件,可以方便地编辑或复用每一帧。

提示与限制

当每个精灵都是已知像素尺寸时使用"固定单元格尺寸",如果精灵图在单元格之间有内边距,请设置间距值。输出始终为 PNG,并且一切都在您的浏览器中本地运行。