übernahme Code Shortcut

This commit is contained in:
georg0480
2026-01-31 15:28:10 +01:00
parent 6f4d6b9301
commit ef46c21291
1787 changed files with 1126465 additions and 0 deletions

13
scripts/optimize-png.sh Normal file
View File

@@ -0,0 +1,13 @@
#!/bin/sh
# Script to optimize and compress png impage files to reduce size.
# All operations are lossless
# Requires optipng and advpng
# In Ubuntu: "sudo apt-get install advancecomp optipng"
files=`find icons/ -name '*.PNG' -o -name '*.png'`
optipng -o 7 $files
advpng -z -4 -i 25 $files
# Sometimes 7z is actually smaller than zopfli
advpng -z -3 -i 25 $files