@@ -21,17 +21,17 @@ convert -verbose -density 480 -background none "$iconSvgFile" -resize 144x144 -g
21
21
convert -verbose -density 640 -background none " $iconSvgFile " -resize 192x192 -gravity center -extent 192x192 " $dir /drawable-xxxhdpi-icon.png"
22
22
convert -verbose -density 1280 -background none " $iconSvgFile " -resize 512x512 -gravity center -extent 512x512 " $dir /drawable-store-icon.png"
23
23
# Splash screen (portrait):
24
- convert -verbose -density 120 -background none " $splashPortSvgFile " -resize 200x320 -gravity center -extent 200x320 " $dir /drawable-ldpi-splash-port.png"
25
- convert -verbose -density 160 -background none " $splashPortSvgFile " -resize 320x480 -gravity center -extent 320x480 " $dir /drawable-mdpi-splash-port.png"
26
- convert -verbose -density 240 -background none " $splashPortSvgFile " -resize 480x800 -gravity center -extent 480x800 " $dir /drawable-hdpi-splash-port.png"
27
- convert -verbose -density 320 -background none " $splashPortSvgFile " -resize 720x1280 -gravity center -extent 720x1280 " $dir /drawable-xhdpi-splash-port.png"
28
- convert -verbose -density 480 -background none " $splashPortSvgFile " -resize 960x1600 -gravity center -extent 960x1600 " $dir /drawable-xxhdpi-splash-port.png"
29
- convert -verbose -density 640 -background none " $splashPortSvgFile " -resize 1280x1920 -gravity center -extent 1280x1920 " $dir /drawable-xxxhdpi-splash-port.png"
24
+ convert -verbose -density 120 -background " #222 " " $splashPortSvgFile " -resize 200x320 -gravity center -extent 200x320 " $dir /drawable-ldpi-splash-port.png"
25
+ convert -verbose -density 160 -background " #222 " " $splashPortSvgFile " -resize 320x480 -gravity center -extent 320x480 " $dir /drawable-mdpi-splash-port.png"
26
+ convert -verbose -density 240 -background " #222 " " $splashPortSvgFile " -resize 480x800 -gravity center -extent 480x800 " $dir /drawable-hdpi-splash-port.png"
27
+ convert -verbose -density 320 -background " #222 " " $splashPortSvgFile " -resize 720x1280 -gravity center -extent 720x1280 " $dir /drawable-xhdpi-splash-port.png"
28
+ convert -verbose -density 480 -background " #222 " " $splashPortSvgFile " -resize 960x1600 -gravity center -extent 960x1600 " $dir /drawable-xxhdpi-splash-port.png"
29
+ convert -verbose -density 640 -background " #222 " " $splashPortSvgFile " -resize 1280x1920 -gravity center -extent 1280x1920 " $dir /drawable-xxxhdpi-splash-port.png"
30
30
# Splash screen (landscape):
31
- convert -verbose -density 120 -background none " $splashLandSvgFile " -resize 320x200 -gravity center -extent 320x200 " $dir /drawable-ldpi-splash-land.png"
32
- convert -verbose -density 160 -background none " $splashLandSvgFile " -resize 480x320 -gravity center -extent 480x320 " $dir /drawable-mdpi-splash-land.png"
33
- convert -verbose -density 240 -background none " $splashLandSvgFile " -resize 800x480 -gravity center -extent 800x480 " $dir /drawable-hdpi-splash-land.png"
34
- convert -verbose -density 320 -background none " $splashLandSvgFile " -resize 1280x720 -gravity center -extent 1280x720 " $dir /drawable-xhdpi-splash-land.png"
35
- convert -verbose -density 480 -background none " $splashLandSvgFile " -resize 1600x960 -gravity center -extent 1600x960 " $dir /drawable-xxhdpi-splash-land.png"
36
- convert -verbose -density 640 -background none " $splashLandSvgFile " -resize 1920x1280 -gravity center -extent 1920x1280 " $dir /drawable-xxxhdpi-splash-land.png"
31
+ convert -verbose -density 120 -background " #222 " " $splashLandSvgFile " -resize 320x200 -gravity center -extent 320x200 " $dir /drawable-ldpi-splash-land.png"
32
+ convert -verbose -density 160 -background " #222 " " $splashLandSvgFile " -resize 480x320 -gravity center -extent 480x320 " $dir /drawable-mdpi-splash-land.png"
33
+ convert -verbose -density 240 -background " #222 " " $splashLandSvgFile " -resize 800x480 -gravity center -extent 800x480 " $dir /drawable-hdpi-splash-land.png"
34
+ convert -verbose -density 320 -background " #222 " " $splashLandSvgFile " -resize 1280x720 -gravity center -extent 1280x720 " $dir /drawable-xhdpi-splash-land.png"
35
+ convert -verbose -density 480 -background " #222 " " $splashLandSvgFile " -resize 1600x960 -gravity center -extent 1600x960 " $dir /drawable-xxhdpi-splash-land.png"
36
+ convert -verbose -density 640 -background " #222 " " $splashLandSvgFile " -resize 1920x1280 -gravity center -extent 1920x1280 " $dir /drawable-xxxhdpi-splash-land.png"
37
37
echo ' Done'
0 commit comments