AndroidM 以后,Google 架构中手机内置的壁纸都需要有相应的壁纸缩略图
一般都会按照比列去缩放:wallpaper_thumb -xhdpi
也可以指定缩略图的宽高度: wallpaper_thumb --width 480 --height 854
wallpaper_thumb --help可以查看相关的指令操作。
server@imp-lyj-srv:~/Project/T610$ wallpaper_thumb --help
usage: wallpaper_utils.py [-h] [--clean] [