fixes #12 by adding a small white border before trimming
Unfortunatly this results in a 1 pixel change in every converted icon, which isn't visible but causes different files
|
@ -21,6 +21,7 @@ function resizeLargeIcon () {
|
|||
outputfile=$2
|
||||
convert \
|
||||
"$inputfile" \
|
||||
-bordercolor white -border 1x1 \
|
||||
-fill transparent \
|
||||
-fuzz 1% \
|
||||
-floodfill +0+0 white \
|
||||
|
@ -74,6 +75,7 @@ function resizeSvg () {
|
|||
inkscape -f "$inputfile" -h 1024 -e "$outputfile"
|
||||
mogrify \
|
||||
-background none \
|
||||
-bordercolor transparent -border 1x1 \
|
||||
-trim \
|
||||
-thumbnail "${size}"x"${size}"\> \
|
||||
-unsharp 0x1 \
|
||||
|
|
BIN
dist/SEO/bing.com.png
vendored
Before Width: | Height: | Size: 623 B After Width: | Height: | Size: 643 B |
BIN
dist/SEO/google.com.png
vendored
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
BIN
dist/SEO/whois.png
vendored
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
BIN
dist/brand/Acer.png
vendored
Before Width: | Height: | Size: 944 B After Width: | Height: | Size: 967 B |
BIN
dist/brand/Apple.png
vendored
Before Width: | Height: | Size: 615 B After Width: | Height: | Size: 624 B |
BIN
dist/brand/Archos.png
vendored
Before Width: | Height: | Size: 539 B After Width: | Height: | Size: 530 B |
BIN
dist/brand/Asus.png
vendored
Before Width: | Height: | Size: 594 B After Width: | Height: | Size: 568 B |
BIN
dist/brand/BangOlufsen.png
vendored
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
BIN
dist/brand/Becker.png
vendored
Before Width: | Height: | Size: 693 B After Width: | Height: | Size: 683 B |
BIN
dist/brand/China Mobile.png
vendored
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.4 KiB |
BIN
dist/brand/Compal.png
vendored
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
BIN
dist/brand/Crosscall.png
vendored
Before Width: | Height: | Size: 358 B After Width: | Height: | Size: 353 B |
BIN
dist/brand/DEXP.png
vendored
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.5 KiB |
BIN
dist/brand/Dell.png
vendored
Before Width: | Height: | Size: 976 B After Width: | Height: | Size: 1,010 B |
BIN
dist/brand/Ericsson.png
vendored
Before Width: | Height: | Size: 744 B After Width: | Height: | Size: 761 B |
BIN
dist/brand/Freetel.png
vendored
Before Width: | Height: | Size: 807 B After Width: | Height: | Size: 811 B |
BIN
dist/brand/Fujitsu.png
vendored
Before Width: | Height: | Size: 957 B After Width: | Height: | Size: 927 B |
BIN
dist/brand/Google.png
vendored
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
BIN
dist/brand/HP.png
vendored
Before Width: | Height: | Size: 965 B After Width: | Height: | Size: 979 B |
BIN
dist/brand/HTC.png
vendored
Before Width: | Height: | Size: 532 B After Width: | Height: | Size: 547 B |
BIN
dist/brand/Huawei.png
vendored
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
BIN
dist/brand/Ikea.png
vendored
Before Width: | Height: | Size: 938 B After Width: | Height: | Size: 883 B |
BIN
dist/brand/Innos.png
vendored
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
BIN
dist/brand/Jolla.png
vendored
Before Width: | Height: | Size: 832 B After Width: | Height: | Size: 836 B |
BIN
dist/brand/Kazam.png
vendored
Before Width: | Height: | Size: 699 B After Width: | Height: | Size: 680 B |
BIN
dist/brand/LYF.png
vendored
Before Width: | Height: | Size: 906 B After Width: | Height: | Size: 817 B |
BIN
dist/brand/Medion.png
vendored
Before Width: | Height: | Size: 551 B After Width: | Height: | Size: 534 B |
BIN
dist/brand/MicroMax.png
vendored
Before Width: | Height: | Size: 961 B After Width: | Height: | Size: 989 B |
BIN
dist/brand/Microsoft.png
vendored
Before Width: | Height: | Size: 232 B After Width: | Height: | Size: 464 B |
BIN
dist/brand/Mitsubishi.png
vendored
Before Width: | Height: | Size: 509 B After Width: | Height: | Size: 545 B |
BIN
dist/brand/Motorola.png
vendored
Before Width: | Height: | Size: 855 B After Width: | Height: | Size: 856 B |
BIN
dist/brand/NGM.png
vendored
Before Width: | Height: | Size: 3 KiB After Width: | Height: | Size: 2.8 KiB |
BIN
dist/brand/Nintendo.png
vendored
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.1 KiB |
BIN
dist/brand/Nokia.png
vendored
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
BIN
dist/brand/Nvidia.png
vendored
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 921 B |
BIN
dist/brand/O2.png
vendored
Before Width: | Height: | Size: 836 B After Width: | Height: | Size: 852 B |
BIN
dist/brand/OnePlus.png
vendored
Before Width: | Height: | Size: 493 B After Width: | Height: | Size: 478 B |
BIN
dist/brand/Orange.png
vendored
Before Width: | Height: | Size: 634 B After Width: | Height: | Size: 617 B |
BIN
dist/brand/Pantech.png
vendored
Before Width: | Height: | Size: 648 B After Width: | Height: | Size: 646 B |
BIN
dist/brand/Philips.png
vendored
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.5 KiB |
BIN
dist/brand/Polaroid.png
vendored
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.1 KiB |
BIN
dist/brand/Samsung.png
vendored
Before Width: | Height: | Size: 890 B After Width: | Height: | Size: 873 B |
BIN
dist/brand/Sega.png
vendored
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
BIN
dist/brand/Siemens.png
vendored
Before Width: | Height: | Size: 497 B After Width: | Height: | Size: 497 B |
BIN
dist/brand/Sony.png
vendored
Before Width: | Height: | Size: 797 B After Width: | Height: | Size: 793 B |
BIN
dist/brand/Sony_Ericsson.png
vendored
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
BIN
dist/brand/Spice.png
vendored
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
BIN
dist/brand/T-Mobile.png
vendored
Before Width: | Height: | Size: 607 B After Width: | Height: | Size: 610 B |
BIN
dist/brand/TCL.png
vendored
Before Width: | Height: | Size: 430 B After Width: | Height: | Size: 435 B |
BIN
dist/brand/TechniSat.png
vendored
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
BIN
dist/brand/Telefunken.png
vendored
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
BIN
dist/brand/Tesla.png
vendored
Before Width: | Height: | Size: 901 B After Width: | Height: | Size: 883 B |
BIN
dist/brand/TiPhone.png
vendored
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.8 KiB |
BIN
dist/brand/Tolino.png
vendored
Before Width: | Height: | Size: 817 B After Width: | Height: | Size: 829 B |
BIN
dist/brand/Toshiba.png
vendored
Before Width: | Height: | Size: 210 B After Width: | Height: | Size: 219 B |
BIN
dist/brand/Tunisie_Telecom.png
vendored
Before Width: | Height: | Size: 3 KiB After Width: | Height: | Size: 3 KiB |
BIN
dist/brand/Vertu.png
vendored
Before Width: | Height: | Size: 408 B After Width: | Height: | Size: 415 B |
BIN
dist/brand/Vestel.png
vendored
Before Width: | Height: | Size: 965 B After Width: | Height: | Size: 975 B |
BIN
dist/brand/Wiko.png
vendored
Before Width: | Height: | Size: 763 B After Width: | Height: | Size: 782 B |
BIN
dist/brand/Wileyfox.png
vendored
Before Width: | Height: | Size: 924 B After Width: | Height: | Size: 943 B |
BIN
dist/brand/ZTE.png
vendored
Before Width: | Height: | Size: 875 B After Width: | Height: | Size: 904 B |
BIN
dist/browsers/36.png
vendored
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.6 KiB |
BIN
dist/browsers/3B.png
vendored
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.6 KiB |
BIN
dist/browsers/AA.png
vendored
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.8 KiB |
BIN
dist/browsers/AG.png
vendored
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
BIN
dist/browsers/AL.png
vendored
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 2 KiB |
BIN
dist/browsers/AM.png
vendored
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
BIN
dist/browsers/AN.png
vendored
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 6.2 KiB |
BIN
dist/browsers/AO.png
vendored
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
BIN
dist/browsers/AR.png
vendored
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.5 KiB |
BIN
dist/browsers/AT.png
vendored
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
BIN
dist/browsers/BD.png
vendored
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
BIN
dist/browsers/BK.png
vendored
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
BIN
dist/browsers/BR.png
vendored
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
BIN
dist/browsers/BS.png
vendored
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
BIN
dist/browsers/C1.png
vendored
Before Width: | Height: | Size: 718 B After Width: | Height: | Size: 513 B |
BIN
dist/browsers/CA.png
vendored
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
BIN
dist/browsers/CC.png
vendored
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.4 KiB |
BIN
dist/browsers/CD.png
vendored
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
BIN
dist/browsers/CF.png
vendored
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.2 KiB |
BIN
dist/browsers/CH.png
vendored
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.2 KiB |
BIN
dist/browsers/CI.png
vendored
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.2 KiB |
BIN
dist/browsers/CK.png
vendored
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.4 KiB |
BIN
dist/browsers/CM.png
vendored
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.2 KiB |
BIN
dist/browsers/CN.png
vendored
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
BIN
dist/browsers/CP.png
vendored
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
BIN
dist/browsers/CR.png
vendored
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.1 KiB |
BIN
dist/browsers/DF.png
vendored
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
BIN
dist/browsers/DI.png
vendored
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
BIN
dist/browsers/DL.png
vendored
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 2.8 KiB |
BIN
dist/browsers/EI.png
vendored
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.6 KiB |
BIN
dist/browsers/EP.png
vendored
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.6 KiB |
BIN
dist/browsers/FB.png
vendored
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 2 KiB |
BIN
dist/browsers/FD.png
vendored
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
BIN
dist/browsers/FE.png
vendored
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.2 KiB |
BIN
dist/browsers/FF.png
vendored
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
BIN
dist/browsers/FL.png
vendored
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
BIN
dist/browsers/FM.png
vendored
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
BIN
dist/browsers/FN.png
vendored
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 5.9 KiB |