Skip to content

Commit db72747

Browse files
committed
MEDIA: Fix Windows 8-bit icons missing transparency
The ImageMagick -colors parameter removes the transparency so we need to downgrade the icons another way
1 parent 9f19b9f commit db72747

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

Makefile

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ scummvm_icon.xpm: scummvm_icon.png
6161

6262
scummvm_icon.ico: scummvm_icon.png
6363
convert $< \
64-
\( -clone 0 -resize 32x32 -colors 16 \) \
65-
\( -clone 0 -resize 16x16 -colors 16 \) \
66-
\( -clone 0 -resize 48x48 -colors 256 \) \
67-
\( -clone 0 -resize 32x32 -colors 256 \) \
68-
\( -clone 0 -resize 16x16 -colors 256 \) \
64+
\( -clone 0 -resize 32x32 -depth 4 -colors 15 -alpha on \) \
65+
\( -clone 0 -resize 16x16 -depth 4 -colors 15 -alpha on \) \
66+
\( -clone 0 -resize 48x48 -depth 8 \) \
67+
\( -clone 0 -resize 32x32 -depth 8 \) \
68+
\( -clone 0 -resize 16x16 -depth 8 \) \
6969
\( -clone 0 -resize 256x256 \) \
7070
\( -clone 0 -resize 48x48 \) \
7171
\( -clone 0 -resize 32x32 \) \
@@ -78,11 +78,11 @@ scummvm_tools_icon.png: scummvm_icon.png derivate/scummvm_tools_badge.svg
7878

7979
scummvm_tools_icon.ico: scummvm_tools_icon.png
8080
convert $< \
81-
\( -clone 0 -resize 32x32 -colors 16 \) \
82-
\( -clone 0 -resize 16x16 -colors 16 \) \
83-
\( -clone 0 -resize 48x48 -colors 256 \) \
84-
\( -clone 0 -resize 32x32 -colors 256 \) \
85-
\( -clone 0 -resize 16x16 -colors 256 \) \
81+
\( -clone 0 -resize 32x32 -depth 4 -colors 15 -alpha on \) \
82+
\( -clone 0 -resize 16x16 -depth 4 -colors 15 -alpha on \) \
83+
\( -clone 0 -resize 48x48 -depth 8 \) \
84+
\( -clone 0 -resize 32x32 -depth 8 \) \
85+
\( -clone 0 -resize 16x16 -depth 8 \) \
8686
\( -clone 0 -resize 256x256 \) \
8787
\( -clone 0 -resize 48x48 \) \
8888
\( -clone 0 -resize 32x32 \) \

scummvm_icon.ico

-58.6 KB
Binary file not shown.

scummvm_tools_icon.ico

-59.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)