#! /bin/bash
# 此脚本是用于修改mplayer的皮肤启动时的错误
for FILE in *.png
do
convert $FILE -define png:format=png24 $FILE
done
将脚本命名为xxx.sh
sudo chmod +x xxx.sh
更新权限
在skins文件夹下有4个文件夹,将其xxx.sh复制到各个文件夹当中
sudo ./xxx.sh
在各个文件夹当中运行一遍这个脚本,完成图片格式转换,解决问题