floodfill transparency
|
@ -41,8 +41,13 @@ for i in src/**/*.{png,gif,jpg,ico}; do
|
|||
then
|
||||
convert \
|
||||
"$i" \
|
||||
-fill transparent \
|
||||
-fuzz 1% \
|
||||
-floodfill +0+0 white \
|
||||
-floodfill +"$((width-1))"+0 white \
|
||||
-floodfill +0+"$((height-1))" white \
|
||||
-floodfill +"$((width-1))"+"$((height-1))" white \
|
||||
-strip \
|
||||
-transparent white \
|
||||
-background none \
|
||||
-trim \
|
||||
-thumbnail ${size}x${size}\> \
|
||||
|
@ -52,6 +57,7 @@ for i in src/**/*.{png,gif,jpg,ico}; do
|
|||
"$distFile"
|
||||
# input file
|
||||
# strip metadata
|
||||
# floodfill from every corner
|
||||
# make background transparent
|
||||
# keep transparency
|
||||
# cut border
|
||||
|
|
BIN
dist/DevicePlugins/images/plugins/cookie.png
vendored
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
BIN
dist/DevicePlugins/images/plugins/director.png
vendored
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
BIN
dist/DevicePlugins/images/plugins/flash.png
vendored
Before Width: | Height: | Size: 942 B After Width: | Height: | Size: 810 B |
BIN
dist/DevicePlugins/images/plugins/pdf.png
vendored
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 1.8 KiB |
BIN
dist/DevicePlugins/images/plugins/quicktime.png
vendored
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
BIN
dist/DevicePlugins/images/plugins/realplayer.png
vendored
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
BIN
dist/DevicePlugins/images/plugins/silverlight.png
vendored
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.7 KiB |
BIN
dist/DevicePlugins/images/plugins/windowsmedia.png
vendored
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 2.3 KiB |
BIN
dist/DevicesDetection/images/browsers/36.png
vendored
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
BIN
dist/DevicesDetection/images/browsers/3B.png
vendored
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
BIN
dist/DevicesDetection/images/browsers/AA.png
vendored
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.8 KiB |
BIN
dist/DevicesDetection/images/browsers/AG.png
vendored
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
BIN
dist/DevicesDetection/images/browsers/AN.png
vendored
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.1 KiB |
BIN
dist/DevicesDetection/images/browsers/AO.png
vendored
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.3 KiB |
BIN
dist/DevicesDetection/images/browsers/AR.png
vendored
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
BIN
dist/DevicesDetection/images/browsers/AT.png
vendored
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.6 KiB |
BIN
dist/DevicesDetection/images/browsers/AV.png
vendored
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
BIN
dist/DevicesDetection/images/browsers/BB.png
vendored
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1 KiB |
BIN
dist/DevicesDetection/images/browsers/BD.png
vendored
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.8 KiB |
BIN
dist/DevicesDetection/images/browsers/BE.png
vendored
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.2 KiB |
BIN
dist/DevicesDetection/images/browsers/BJ.png
vendored
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.2 KiB |
BIN
dist/DevicesDetection/images/browsers/BR.png
vendored
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.6 KiB |
BIN
dist/DevicesDetection/images/browsers/BS.png
vendored
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.8 KiB |
BIN
dist/DevicesDetection/images/browsers/CA.png
vendored
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
BIN
dist/DevicesDetection/images/browsers/CC.png
vendored
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.6 KiB |
BIN
dist/DevicesDetection/images/browsers/CD.png
vendored
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
BIN
dist/DevicesDetection/images/browsers/CK.png
vendored
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 2.4 KiB |
BIN
dist/DevicesDetection/images/browsers/CN.png
vendored
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 4.4 KiB |
BIN
dist/DevicesDetection/images/browsers/CO.png
vendored
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 4.6 KiB |
BIN
dist/DevicesDetection/images/browsers/CP.png
vendored
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 4.4 KiB |
BIN
dist/DevicesDetection/images/browsers/DE.png
vendored
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.2 KiB |
BIN
dist/DevicesDetection/images/browsers/DF.png
vendored
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 1.4 KiB |
BIN
dist/DevicesDetection/images/browsers/DI.png
vendored
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.5 KiB |
BIN
dist/DevicesDetection/images/browsers/EL.png
vendored
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.2 KiB |
BIN
dist/DevicesDetection/images/browsers/EP.png
vendored
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.6 KiB |
BIN
dist/DevicesDetection/images/browsers/FB.png
vendored
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 2.1 KiB |
BIN
dist/DevicesDetection/images/browsers/FD.png
vendored
Before Width: | Height: | Size: 5 KiB After Width: | Height: | Size: 5 KiB |
BIN
dist/DevicesDetection/images/browsers/FE.png
vendored
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.3 KiB |
BIN
dist/DevicesDetection/images/browsers/FF.png
vendored
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
BIN
dist/DevicesDetection/images/browsers/GE.png
vendored
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.5 KiB |
BIN
dist/DevicesDetection/images/browsers/IA.png
vendored
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.8 KiB |
BIN
dist/DevicesDetection/images/browsers/IB.png
vendored
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
BIN
dist/DevicesDetection/images/browsers/IC.png
vendored
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.1 KiB |
BIN
dist/DevicesDetection/images/browsers/ID.png
vendored
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.7 KiB |
BIN
dist/DevicesDetection/images/browsers/IE.png
vendored
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.3 KiB |
BIN
dist/DevicesDetection/images/browsers/IM.png
vendored
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1 KiB |
BIN
dist/DevicesDetection/images/browsers/IR.png
vendored
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
BIN
dist/DevicesDetection/images/browsers/IW.png
vendored
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 2.5 KiB |
BIN
dist/DevicesDetection/images/browsers/JI.png
vendored
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.5 KiB |
BIN
dist/DevicesDetection/images/browsers/KI.png
vendored
Before Width: | Height: | Size: 612 B After Width: | Height: | Size: 1.4 KiB |
BIN
dist/DevicesDetection/images/browsers/KM.png
vendored
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.5 KiB |
BIN
dist/DevicesDetection/images/browsers/KO.png
vendored
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 5.5 KiB |
BIN
dist/DevicesDetection/images/browsers/KY.png
vendored
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
BIN
dist/DevicesDetection/images/browsers/LB.png
vendored
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.5 KiB |
BIN
dist/DevicesDetection/images/browsers/LG.png
vendored
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 1.4 KiB |
BIN
dist/DevicesDetection/images/browsers/LX.png
vendored
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.2 KiB |
BIN
dist/DevicesDetection/images/browsers/MB.png
vendored
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.8 KiB |
BIN
dist/DevicesDetection/images/browsers/MF.png
vendored
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 5.3 KiB |
BIN
dist/DevicesDetection/images/browsers/MS.png
vendored
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
BIN
dist/DevicesDetection/images/browsers/MU.png
vendored
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
BIN
dist/DevicesDetection/images/browsers/NB.png
vendored
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.1 KiB |
BIN
dist/DevicesDetection/images/browsers/NL.png
vendored
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 2.6 KiB |
BIN
dist/DevicesDetection/images/browsers/NO.png
vendored
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.1 KiB |
BIN
dist/DevicesDetection/images/browsers/NS.png
vendored
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 1.8 KiB |
BIN
dist/DevicesDetection/images/browsers/NV.png
vendored
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.1 KiB |
BIN
dist/DevicesDetection/images/browsers/OB.png
vendored
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 2 KiB |
BIN
dist/DevicesDetection/images/browsers/OE.png
vendored
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
BIN
dist/DevicesDetection/images/browsers/OI.png
vendored
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.2 KiB |
BIN
dist/DevicesDetection/images/browsers/ON.png
vendored
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.3 KiB |
BIN
dist/DevicesDetection/images/browsers/OV.png
vendored
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.5 KiB |
BIN
dist/DevicesDetection/images/browsers/OW.png
vendored
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.2 KiB |
BIN
dist/DevicesDetection/images/browsers/PU.png
vendored
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
BIN
dist/DevicesDetection/images/browsers/PX.png
vendored
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 2.1 KiB |
BIN
dist/DevicesDetection/images/browsers/QQ.png
vendored
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
BIN
dist/DevicesDetection/images/browsers/RK.png
vendored
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.2 KiB |
BIN
dist/DevicesDetection/images/browsers/RM.png
vendored
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 1 KiB |
BIN
dist/DevicesDetection/images/browsers/SB.png
vendored
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
BIN
dist/DevicesDetection/images/browsers/SF.png
vendored
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 5.3 KiB |
BIN
dist/DevicesDetection/images/browsers/SH.png
vendored
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 5.3 KiB |
BIN
dist/DevicesDetection/images/browsers/SL.png
vendored
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.6 KiB |
BIN
dist/DevicesDetection/images/browsers/SM.png
vendored
Before Width: | Height: | Size: 3 KiB After Width: | Height: | Size: 2.5 KiB |
BIN
dist/DevicesDetection/images/browsers/SP.png
vendored
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.7 KiB |
BIN
dist/DevicesDetection/images/browsers/SS.png
vendored
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.6 KiB |
BIN
dist/DevicesDetection/images/browsers/SX.png
vendored
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.9 KiB |
BIN
dist/DevicesDetection/images/browsers/TS.png
vendored
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.1 KiB |
BIN
dist/DevicesDetection/images/browsers/UC.png
vendored
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 1.5 KiB |
BIN
dist/DevicesDetection/images/browsers/VI.png
vendored
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 1.8 KiB |
BIN
dist/DevicesDetection/images/browsers/YA.png
vendored
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 990 B |
BIN
dist/DevicesDetection/images/os/AIX.png
vendored
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.5 KiB |
BIN
dist/DevicesDetection/images/os/AMG.png
vendored
Before Width: | Height: | Size: 5 KiB After Width: | Height: | Size: 4.7 KiB |
BIN
dist/DevicesDetection/images/os/AND.png
vendored
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.1 KiB |
BIN
dist/DevicesDetection/images/os/ARL.png
vendored
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
BIN
dist/DevicesDetection/images/os/BEO.png
vendored
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 1.9 KiB |
BIN
dist/DevicesDetection/images/os/BLB.png
vendored
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1 KiB |
BIN
dist/DevicesDetection/images/os/BSD.png
vendored
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.8 KiB |
BIN
dist/DevicesDetection/images/os/CYN.png
vendored
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 1.8 KiB |
BIN
dist/DevicesDetection/images/os/DFB.png
vendored
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 1.9 KiB |
BIN
dist/DevicesDetection/images/os/FED.png
vendored
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
BIN
dist/DevicesDetection/images/os/FOS.png
vendored
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |