WIP: preserve recovered Folio packaging and icon work
11
build/generate-icons.sh
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env sh
|
||||
# Regenerate all app-icon derivatives from the master artwork (FolioAppIcon.png).
|
||||
# Requires ImageMagick. The master file is never modified.
|
||||
set -e
|
||||
cd "$(dirname "$0")/.."
|
||||
SIZES="16 24 32 48 64 128 256 512 1024"
|
||||
mkdir -p build/icons
|
||||
for s in $SIZES; do
|
||||
convert FolioAppIcon.png -resize "${s}x${s}" -strip "build/icons/${s}x${s}.png"
|
||||
done
|
||||
echo "Generated build/icons/{${SIZES// /,}}x{}.png"
|
||||
BIN
build/icons/1024x1024.png
Normal file
|
After Width: | Height: | Size: 1 MiB |
BIN
build/icons/128x128.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
build/icons/16x16.png
Normal file
|
After Width: | Height: | Size: 1 KiB |
BIN
build/icons/24x24.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
build/icons/256x256.png
Normal file
|
After Width: | Height: | Size: 71 KiB |
BIN
build/icons/32x32.png
Normal file
|
After Width: | Height: | Size: 2 KiB |
BIN
build/icons/48x48.png
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
build/icons/512x512.png
Normal file
|
After Width: | Height: | Size: 264 KiB |
BIN
build/icons/64x64.png
Normal file
|
After Width: | Height: | Size: 6.3 KiB |