Add margins to logo to avoid showing huge logo in system bars (MacOs)
|
Before Width: | Height: | Size: 336 KiB After Width: | Height: | Size: 300 KiB |
|
|
@ -19,10 +19,14 @@
|
|||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
##
|
||||
|
||||
for i in 16 22 24 32 64 128 256
|
||||
for i in 16 22 24 32 64 128 256 512 1024
|
||||
do
|
||||
mkdir -p hicolor/${i}x${i}/apps
|
||||
inkscape -z -e hicolor/${i}x${i}/apps/icon.png -w $i -h $i ../image/logo.svg
|
||||
inkscape -z -e hicolor/${i}x${i}/apps/icon.png -w $i -h $i ../image/logo_margins.svg
|
||||
done
|
||||
|
||||
#Windows and Linux
|
||||
convert -density 256x256 -background transparent ../image/logo.svg -define icon:auto-resize -colors 256 ../icon.ico
|
||||
png2icns ../../../cmake/install/macos/linphone.icns hicolor/16x16/apps/icon.png hicolor/32x32/apps/icon.png hicolor/128x128/apps/icon.png hicolor/256x256/apps/icon.png
|
||||
|
||||
#Mac
|
||||
png2icns ../../../cmake/install/macos/linphone.icns hicolor/16x16/apps/icon.png hicolor/32x32/apps/icon.png hicolor/128x128/apps/icon.png hicolor/256x256/apps/icon.png hicolor/512x512/apps/icon.png hicolor/1024x1024/apps/icon.png
|
||||
|
|
|
|||
|
|
@ -19,10 +19,14 @@
|
|||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
##
|
||||
|
||||
for i in 16 22 24 32 64 128 256
|
||||
for i in 16 22 24 32 64 128 256 512 1024
|
||||
do
|
||||
mkdir -p hicolor/${i}x${i}/apps
|
||||
inkscape -z --export-type=png --export-file=hicolor/${i}x${i}/apps/icon.png -w $i -h $i ../image/logo.svg
|
||||
inkscape -z --export-type=png --export-file=hicolor/${i}x${i}/apps/icon.png -w $i -h $i ../image/logo_margins.svg
|
||||
done
|
||||
|
||||
#Windows and Linux
|
||||
convert -density 256x256 -background transparent ../image/logo.svg -define icon:auto-resize -colors 256 ../icon.ico
|
||||
png2icns ../../../cmake/install/macos/linphone.icns hicolor/16x16/apps/icon.png hicolor/32x32/apps/icon.png hicolor/128x128/apps/icon.png hicolor/256x256/apps/icon.png
|
||||
|
||||
#Mac
|
||||
png2icns ../../../cmake/install/macos/linphone.icns hicolor/16x16/apps/icon.png hicolor/32x32/apps/icon.png hicolor/128x128/apps/icon.png hicolor/256x256/apps/icon.png hicolor/512x512/apps/icon.png hicolor/1024x1024/apps/icon.png
|
||||
|
|
|
|||
|
|
@ -19,10 +19,14 @@
|
|||
## along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
##
|
||||
|
||||
for i in 16 22 24 32 64 128 256
|
||||
for i in 16 22 24 32 64 128 256 512 1024
|
||||
do
|
||||
mkdir -p hicolor/${i}x${i}/apps
|
||||
inkscape -z --export-type=png --export-filename=hicolor/${i}x${i}/apps/icon.png -w $i -h $i ../image/logo.svg
|
||||
inkscape -z --export-type=png --export-filename=hicolor/${i}x${i}/apps/icon.png -w $i -h $i ../image/logo_margins.svg
|
||||
done
|
||||
|
||||
#Windows and Linux
|
||||
convert -density 256x256 -background transparent ../image/logo.svg -define icon:auto-resize -colors 256 ../icon.ico
|
||||
png2icns ../../../cmake/install/macos/linphone.icns hicolor/16x16/apps/icon.png hicolor/32x32/apps/icon.png hicolor/128x128/apps/icon.png hicolor/256x256/apps/icon.png
|
||||
|
||||
#Mac
|
||||
png2icns ../../../cmake/install/macos/linphone.icns hicolor/16x16/apps/icon.png hicolor/32x32/apps/icon.png hicolor/128x128/apps/icon.png hicolor/256x256/apps/icon.png hicolor/512x512/apps/icon.png hicolor/1024x1024/apps/icon.png
|
||||
|
|
|
|||
BIN
Linphone/data/icon/hicolor/1024x1024/apps/icon.png
Normal file
|
After Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 452 B After Width: | Height: | Size: 425 B |
|
Before Width: | Height: | Size: 570 B After Width: | Height: | Size: 517 B |
|
Before Width: | Height: | Size: 613 B After Width: | Height: | Size: 592 B |
|
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 5.1 KiB |
|
Before Width: | Height: | Size: 799 B After Width: | Height: | Size: 744 B |
BIN
Linphone/data/icon/hicolor/512x512/apps/icon.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.3 KiB |
55
Linphone/data/image/logo_margins.svg
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="1024"
|
||||
height="1024"
|
||||
viewBox="0 0 1024 1024"
|
||||
fill="none"
|
||||
version="1.1"
|
||||
id="svg8"
|
||||
sodipodi:docname="logo.svg"
|
||||
inkscape:version="1.4 (86a8ad7, 2024-10-11)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs12" />
|
||||
<sodipodi:namedview
|
||||
id="namedview10"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
showgrid="false"
|
||||
inkscape:zoom="0.40673828"
|
||||
inkscape:cx="-199.14526"
|
||||
inkscape:cy="494.17528"
|
||||
inkscape:window-width="1643"
|
||||
inkscape:window-height="1120"
|
||||
inkscape:window-x="2050"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="svg8"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:deskcolor="#d1d1d1" />
|
||||
<rect
|
||||
x="100"
|
||||
y="100"
|
||||
width="824"
|
||||
height="824"
|
||||
rx="50"
|
||||
fill="#FF5E00"
|
||||
id="rect2" />
|
||||
<path
|
||||
d="m 320.19307,367.66682 c 0,0 -46.67187,64.3749 -39.42968,93.34521 -0.24946,-1.12334 30.57812,-33.79843 30.57812,-33.79843 1.60937,8.85155 76.44532,30.57969 76.44532,30.57969 9.93628,6.33288 13.36102,10.88097 15.28905,20.92184 v 38.62494 c 25.8514,16.08407 49.59773,21.42075 107.02344,24.94527 61.01624,-2.60074 86.21744,-8.00502 108.63282,-24.94527 0,0 -2.41406,-29.775 0,-40.23592 2.41406,-10.46092 7.77167,-16.44296 16.09375,-19.31086 31.04967,-7.10377 46.37575,-14.87543 75.64062,-29.775 l 32.18749,32.99374 c -4.89088,-36.27525 -13.29665,-56.35378 -38.62499,-91.73422 -20.10753,-22.97862 -33.00023,-35.0296 -59.54687,-54.71867 -28.85931,-17.05291 -44.8726,-23.56282 -73.22656,-31.38276 -49.2147,-10.07789 -76.34554,-10.04731 -123.92188,0 -29.15061,8.78878 -43.68005,15.4194 -65.17969,31.38276 0,0 -81.27344,-46.67341 -91.73437,-38.62655 -10.46094,8.04687 29.77343,91.73423 29.77343,91.73423 z"
|
||||
fill="#ffffff"
|
||||
id="path4"
|
||||
style="stroke-width:1.60937" />
|
||||
<path
|
||||
d="m 375.75835,616.99241 c -37.38256,-16.3641 -57.63815,-28.72569 -92.53906,-56.32803 8.39128,34.74152 16.21607,53.03365 35.40625,83.68736 20.44872,27.67316 33.01312,40.02188 57.13281,57.13272 26.08475,17.90266 41.72788,25.72904 71.61719,35.4062 26.85081,6.45358 41.82283,8.51036 68.39844,8.85155 27.09705,-1.3567 41.15815,-4.3099 64.375,-9.65624 25.60837,-10.20503 38.65397,-16.6393 60.35156,-28.9687 35.97758,20.31028 80.46875,43.45305 86.90625,33.79682 6.43749,-9.65624 -28.96875,-87.7108 -28.96875,-87.7108 23.61436,-33.82096 33.27383,-56.5968 42.64843,-94.95297 -32.3259,25.35888 -53.32664,40.15545 -93.34374,58.74209 -49.50115,19.52491 -78.33151,25.79502 -131.96875,27.35933 -62.4872,-1.08954 -92.98165,-7.27275 -140.01563,-27.35933 z"
|
||||
fill="#ffffff"
|
||||
id="path6"
|
||||
style="stroke-width:1.60937" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3 KiB |