convert image.png -fill "#333333" -colorize 100 image_output.png
[......]
替换图片中所有颜色(透明保留)
Leave a reply
convert image.png -fill "#333333" -colorize 100 image_output.png
[......]
AUDIO_FILE="./music.ogg"
AUDIO_DURATION=$(ffprobe -i $AUDIO_FILE -show_format -v quiet | sed -n 's/duration=//p')
AUDIO_DURATION=$(echo ${AUDIO_DURATION%.*})
最后一个行是去掉小数点,如果不用可以不去。[......]
这两个参数都要打开:
diff -w -B ./file1 ./file2
[......]
1 移除旧版
sudo apt-get remove docker docker-engine docker.io containerd runc
2 设置repo
sudo apt-get install ca-certificates curl gnupg lsb-release
sudo mkdir -m 0755 -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg |[......]
find . -type f -name "*.c" \( -exec grep -q "A" {} \; ! -exec grep -q "B" {} \; \) -print
[......]