一个纯前端 APNG 合成工具。将多张 PNG、JPG 或 WebP 图片排序、设置逐帧时长,在浏览器中预览并导出透明 APNG。
所有图片只在用户的浏览器内处理,不会上传。
在线使用: https://soren-abt.github.io/apng-maker/
- 选择或拖入 PNG、JPG/JPEG、WebP
- 拖拽排序,也可使用键盘可达的前移/后移按钮
- 统一或逐帧设置 20–60,000 ms 播放时长
- 以第一张图的尺寸建立默认画布,其他图片等比缩放、居中留白
- 无限或指定次数循环
- 实时动画预览和无损 APNG 导出
- 大内存任务风险提示
- GitHub Pages 自动部署工作流
npm install
npm run devnpm run test:run
npm run build
npm run preview- 将仓库推送到 GitHub。
- 在仓库
Settings → Pages中,将 Source 设为GitHub Actions。 - 推送
main或master分支后,工作流会自动测试、构建并发布dist。
Vite 使用相对资源路径,可直接部署在 https://<user>.github.io/<repo>/ 子路径下。
- Vite + TypeScript
- UPNG.js APNG 编码
- Vitest