juechafun/04-归档/归档知识/RAG-MaixCam-自定义程序图标.md

31 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
#领域/MaixCam
## 一句话描述
[__MaixCam 自定义程序图标______]
---
> 更新时间2026-05-25
# MaixCam自定义程序图标操作步骤
## 功能说明
**MaixCam** 设备应用程序配置并替换自定义启动图标,涵盖透明背景处理、静态 **Lottie** 格式转换及配置文件修改流程。
## 前置准备
- [在线PS](https://ps.gaoding.com/#/)
- [PNG转静态Lottie转换器](https://www.uxmotionschool.com/)
- [Lottie图像预览工具](https://www.lotifyai.com/)
- **MaixCam** 目标程序目录及配置文件环境。
## 执行步骤
1. 使用在线PS将原始图标图片处理为透明背景格式。
2. 通过转换工具将图片转换为静态 **Lottie** 格式文件。
3. 借助预览工具检查转换后的图像渲染效果与兼容性。
4. 将生成的 `icon.json` 配置文件放置于目标程序子目录内。
5. 修改同级目录下的 `app.yaml` 文件,将其图标引用路径指向自定义 `icon.json`
## 结果验证
- **MaixCam** 设备端刷新或重启对应应用后,程序图标已更新为自定义样式,透明边缘显示正常且无渲染错乱。