会看到一个 make-image-header.sh 的脚本,等下会使用这个脚本来将图片转化成头文件。
3.在使用脚本之前,需要安装库,否则会报错。
forlinx@ubuntu:~/psplash$ sudo apt-get install libgdk-pixbuf2.0-dev [sudo] password for forlinx: Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: linux-hwe-5.4-headers-5.4.0-84 Use 'sudo apt autoremove' to remove it. 【…】 forlinx@ubuntu:~/psplash$ sudo apt-get install build-essential libncurses5-dev Reading package lists... Done Building dependency tree Reading state information... Done 【…】
4.将想要替换的图片复制到psplash文件夹中,此处用的是我们公司的**,命名为**-1024x600.png ,外框照片命名为**-bar.png。