pixel-art-processing
Pixel art sprite sheet processing tool — video frame extraction, GIF/frames conversion, sprite sheet compose/split, image matting, pixelation, resize, crop, and watermark removal. Use when processing pixel art, game assets, RPG Maker sprites, or any sprite sheet workflow. Triggers on: sprite sheet, GIF拆帧, 序列帧, 像素图片, 抠图, 去水印, 视频转帧, pixel art, sprite, GIF to frames, frames to GIF, background removal, pixelate.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/anlinxi/pixel-art-processingPixel Art Processing / 像素美术处理
[!NOTE] This skill is based on FrameRonin (https://github.com/systemchester/FrameRonin). All core algorithms and workflows are derived from the FrameRonin project.
Overview / 概述
This skill provides a complete pixel art / sprite sheet processing pipeline:
| 功能 / Feature | 描述 / Description |
|---|---|
| 🎬 视频转序列帧 | Extract frames from video → matting → sprite sheet合成 |
| 🔄 GIF ↔ 序列帧 | GIF拆帧 / 序列帧合成GIF |
| 🖼️ 多图合成单图 | Multiple images → single sprite sheet |
| ✂️ 单图拆分 | Split single image into grid frames |
| 🖌️ 简易拼接 | Simple vertical/horizontal/overlay stitching |
| 🗑️ 抠图 (AI) | rembg AI background removal |
| 📐 缩放/裁切 | Resize, crop, padding |
| 🔲 像素化 | Pixelation effect |
| 💧 色度键抠图 | Green/blue screen chroma keying |
| 🚫 Gemini水印去除 | Remove Gemini visible watermark |
| ⚔️ RPGMAKER处理 | One-click RPG Maker sprite workflow |
| 🎥 Seedance水印去除 | Remove Seedance/即梦 video watermark |
Quick Start / 快速开始
1. Deploy Backend / 部署后端
# Docker部署(推荐 / Recommended)
cd <skill>/scripts
docker-compose up -d
# 或手动部署 / Or manual:
pip install -r requirements.txt
python run_api.py
后端地址 / Backend URL: http://localhost:8000
API文档 / API docs: http://localhost:8000/docs
2. Start Worker / 启动Worker
# 需要Redis / Redis required
rq worker pixelwork --url redis://localhost:6379/0
Core Concepts / 核心概念
Sprite Sheet Layout / Sprite Sheet布局
┌────┬────┬────┬────┐
│ 0 │ 1 │ 2 │ 3 │ row=0
├────┼────┼────┼────┤
│ 4 │ 5 │ 6 │ 7 │ row=1
├────┼────┼────┼────┤
│ 8 │ 9 │ ..│ .. │
└────┴────┴────┴────┘
Index JSON: { i, x, y, w, h, t }
i = frame index
x, y = position on sheet
w, h = frame size
t = timestamp (seconds)
Processing Modes / 处理模式
- tight_bbox: 紧贴alpha边界裁切 / Crop tightly to alpha boundary
- safe_bbox: alpha边界+padding / Alpha boundary + padding margin
- none: 不裁切 / No crop
API Reference / API参考
详见 / See: references/api.md
Client-side Processing / 客户端处理
对于 GIF/序列帧转换等纯前端功能,使用浏览器Canvas API直接处理:
For pure client-side features like GIF/frames conversion, use browser Canvas API directly:
scripts/
├── client_gif_processor.html # GIF拆帧/合成 - 浏览器直接运行
├── sprite_split.html # Sprite sheet拆分 - 浏览器直接运行
└── image_processor.html # 图像基本处理 - 浏览器直接运行
直接在浏览器打开这些HTML文件即可使用。
Open these HTML files directly in browser to use.
RPG Maker Workflow / RPG Maker 工作流
详见 / See: references/rpgmaker.md
Sprite Sheet Math / Sprite Sheet 数学
详见 / See: references/sprite_math.md
Algorithm Details / 算法细节
透明行列检测 / Transparent Row/Column Detection
用于超级拆分:按透明行/列智能切割图像。
Used for super-split: intelligently cuts image by transparent rows/columns.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-anlinxi-pixel-art-processing": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
gequhai-music
搜索和下载歌曲海(gequhai.com)的音乐,支持搜索歌曲、获取下载链接(优先无损/高品质), 并可一键下载到群晖NAS。当用户询问歌曲、搜索音乐、或想下载歌曲时使用此技能。
dygod-movies
爬取电影天堂(dygod.net)最新电影和电视剧信息,支持查询最近更新、高分电影, 并可一键下载到群晖NAS。当用户询问最近更新的电影/电视剧、高分电影、或想下载影视资源时使用此技能。
bingli-perspective
冰璃(幽城幻剑录)的思维框架与表达方式。基于游戏对话与人物赏析提炼,包含核心心智模型、决策启发式和表达DNA。 用途:以冰璃的视角分析问题、审视抉择、提供守护者式的忠告。 当用户提到「冰璃视角」「冰璃会怎么看」「剑使模式」「冰璃思维」时使用。
oc-call
通过 OpenClaw Gateway HTTP API 调用远程 OpenClaw 实例,支持多轮会话保持。 当用户说"用 oc 回答"、"用 openclaw 回答"、"oc 回答"、或发送 /oc 命令时触发。 用于调用内网另一台机器(192.168.123.106)上的 OpenClaw 进行问答,保持会话上下文。
chinese-holidays
Query Chinese statutory holidays, check if a date is a working day/holiday, and get holiday schedules. Use when the user asks about Chinese holidays, working days, statutory holidays, or needs to know if a specific date is a holiday in China. Supports queries like "Is tomorrow a holiday?", "When is Spring Festival?", "Is May 1st a working day?".