一般来说一个bootanimation.zip包中包含这些

准备
desc.txt 文件的写法
AOSP/frameworks/base/cmds/bootanimation/FORMAT.md
## zipfile layout
The `bootanimation.zip` archive file includes:
desc.txt - a text file
part0 \
part1 \ directories full of PNG frames
... /
partN /
## desc.txt format
The first line defines the general parameters of the animation:
WIDTH HEIGHT FPS
* **WIDTH:** animation width (pixels)
* **HEIGHT:** animation height (pixels)
* **FPS:** frames per second, e.g. 60
It is followed by a number of rows of the form:
TYPE COUNT PAUSE PATH [#RGBHEX CLOCK]
* **TYPE:** a single char indicating what type of animation segment this is:
+ `p` -- this part will play unless interrupted by the end of the boot
+ `c`

本文详细介绍bootanimation.zip的组成与配置方法。重点解析desc.txt文件格式,包括宽度、高度、帧率及各段动画参数设置。并提供Windows和Linux环境下正确打包及部署流程。
最低0.47元/天 解锁文章
912

被折叠的 条评论
为什么被折叠?



