mirror of
https://github.com/diasurgical/DevilutionX.git
synced 2026-10-12 02:13:06 +00:00
png2icns produces a 128x128 icon that isn't compatible with OSX Tiger. Uses a patched version of png2icns to produce the correct icon. Here is the output of icns2png -l AppIcon_128.icns. Before: ``` Extracting icons from AppIcon_128.icns... Icon family size is 22560 bytes (including 8 byte header) Listing icon elements... 'is32' 16x16 32-bit icon (1024 bytes compressed to 710) 's8mk' 16x16 8-bit mask (256 bytes) 'il32' 32x32 32-bit icon (4096 bytes compressed to 2448) 'l8mk' 32x32 8-bit mask (1024 bytes) 'ih32' 48x48 32-bit icon (9216 bytes compressed to 4418) 'h8mk' 48x48 8-bit mask (2304 bytes) 'ic07' 128x128 32-bit icon (65536 bytes compressed to 11336) ``` After: ``` Extracting icons from AppIcon_128.icns... Icon family size is 42420 bytes (including 8 byte header) Listing icon elements... 'is32' 16x16 32-bit icon (1024 bytes compressed to 710) 's8mk' 16x16 8-bit mask (256 bytes) 'il32' 32x32 32-bit icon (4096 bytes compressed to 2300) 'l8mk' 32x32 8-bit mask (1024 bytes) 'it32' 128x128 32-bit icon (65536 bytes compressed to 21690) 't8mk' 128x128 8-bit mask (16384 bytes) ```