diff options
| author | 2023-03-07 21:11:06 +0600 | |
|---|---|---|
| committer | 2023-03-07 21:11:06 +0600 | |
| commit | d830bfc8ce7c6763d074beafdde7cab1835d31f9 (patch) | |
| tree | 179f81f3b42779b1f6fb69deed6b69dab39f4f89 /src/icons/app | |
| download | whatsie-d830bfc8ce7c6763d074beafdde7cab1835d31f9.tar.gz whatsie-d830bfc8ce7c6763d074beafdde7cab1835d31f9.zip | |
Import Upstream version 4.12.0upstream/4.12.0
Diffstat (limited to 'src/icons/app')
24 files changed, 377 insertions, 0 deletions
diff --git a/src/icons/app/icon-128.png b/src/icons/app/icon-128.png Binary files differnew file mode 100644 index 0000000..f625123 --- /dev/null +++ b/src/icons/app/icon-128.png diff --git a/src/icons/app/icon-16.png b/src/icons/app/icon-16.png Binary files differnew file mode 100644 index 0000000..e3ada9b --- /dev/null +++ b/src/icons/app/icon-16.png diff --git a/src/icons/app/icon-256.png b/src/icons/app/icon-256.png Binary files differnew file mode 100644 index 0000000..2e5155d --- /dev/null +++ b/src/icons/app/icon-256.png diff --git a/src/icons/app/icon-32.png b/src/icons/app/icon-32.png Binary files differnew file mode 100644 index 0000000..8b47514 --- /dev/null +++ b/src/icons/app/icon-32.png diff --git a/src/icons/app/icon-48.png b/src/icons/app/icon-48.png Binary files differnew file mode 100644 index 0000000..f79016f --- /dev/null +++ b/src/icons/app/icon-48.png diff --git a/src/icons/app/icon-512.png b/src/icons/app/icon-512.png Binary files differnew file mode 100644 index 0000000..7974220 --- /dev/null +++ b/src/icons/app/icon-512.png diff --git a/src/icons/app/icon-64.png b/src/icons/app/icon-64.png Binary files differnew file mode 100644 index 0000000..175c8fb --- /dev/null +++ b/src/icons/app/icon-64.png diff --git a/src/icons/app/notification/whatsie-notify-1.png b/src/icons/app/notification/whatsie-notify-1.png Binary files differnew file mode 100644 index 0000000..eae7539 --- /dev/null +++ b/src/icons/app/notification/whatsie-notify-1.png diff --git a/src/icons/app/notification/whatsie-notify-10.png b/src/icons/app/notification/whatsie-notify-10.png Binary files differnew file mode 100644 index 0000000..2fa9181 --- /dev/null +++ b/src/icons/app/notification/whatsie-notify-10.png diff --git a/src/icons/app/notification/whatsie-notify-2.png b/src/icons/app/notification/whatsie-notify-2.png Binary files differnew file mode 100644 index 0000000..e724780 --- /dev/null +++ b/src/icons/app/notification/whatsie-notify-2.png diff --git a/src/icons/app/notification/whatsie-notify-3.png b/src/icons/app/notification/whatsie-notify-3.png Binary files differnew file mode 100644 index 0000000..440cd91 --- /dev/null +++ b/src/icons/app/notification/whatsie-notify-3.png diff --git a/src/icons/app/notification/whatsie-notify-4.png b/src/icons/app/notification/whatsie-notify-4.png Binary files differnew file mode 100644 index 0000000..1c0709a --- /dev/null +++ b/src/icons/app/notification/whatsie-notify-4.png diff --git a/src/icons/app/notification/whatsie-notify-5.png b/src/icons/app/notification/whatsie-notify-5.png Binary files differnew file mode 100644 index 0000000..1df20ec --- /dev/null +++ b/src/icons/app/notification/whatsie-notify-5.png diff --git a/src/icons/app/notification/whatsie-notify-6.png b/src/icons/app/notification/whatsie-notify-6.png Binary files differnew file mode 100644 index 0000000..2b49292 --- /dev/null +++ b/src/icons/app/notification/whatsie-notify-6.png diff --git a/src/icons/app/notification/whatsie-notify-7.png b/src/icons/app/notification/whatsie-notify-7.png Binary files differnew file mode 100644 index 0000000..522baab --- /dev/null +++ b/src/icons/app/notification/whatsie-notify-7.png diff --git a/src/icons/app/notification/whatsie-notify-8.png b/src/icons/app/notification/whatsie-notify-8.png Binary files differnew file mode 100644 index 0000000..4721bcd --- /dev/null +++ b/src/icons/app/notification/whatsie-notify-8.png diff --git a/src/icons/app/notification/whatsie-notify-9.png b/src/icons/app/notification/whatsie-notify-9.png Binary files differnew file mode 100644 index 0000000..5bf276e --- /dev/null +++ b/src/icons/app/notification/whatsie-notify-9.png diff --git a/src/icons/app/notification/whatsie-notify.png b/src/icons/app/notification/whatsie-notify.png Binary files differnew file mode 100644 index 0000000..175c8fb --- /dev/null +++ b/src/icons/app/notification/whatsie-notify.png diff --git a/src/icons/app/notification/whatsie.png b/src/icons/app/notification/whatsie.png Binary files differnew file mode 100644 index 0000000..175c8fb --- /dev/null +++ b/src/icons/app/notification/whatsie.png diff --git a/src/icons/app/notification_resize.sh b/src/icons/app/notification_resize.sh new file mode 100755 index 0000000..e637466 --- /dev/null +++ b/src/icons/app/notification_resize.sh @@ -0,0 +1,47 @@ +#!/bin/bash +FILE=$1 +WIDTH=$(identify -format '%w' $FILE) +HEIGHT=$(identify -format '%h' $FILE) +NAME=${1%%.*} +EXT=${1#*.} +W=$(echo $WIDTH/2.2 | bc); +H=$W; +X=$(echo $WIDTH-$W | bc) +Y=$(echo $HEIGHT-$H | bc) +RY=$(echo $W/8 | bc); +TX=$(echo $W/2 | bc); +TY=$(echo $H-$RY | bc); +FS=$(echo $W+$RY | bc); + +echo "File: $FILE" +echo "Dimensions: $WIDTH x $HEIGHT" +echo "Name: $NAME" +echo "Ext: $EXT" +echo "X: $X" +echo "Y: $Y" +echo "RY: $RY" +echo "W: $W" +echo "H: $H" +echo "TX: $TX" +echo "TY: $TY" +echo "FS: $FS" + +function makeicon { + echo "Creating.. $1 into $2." + convert -background none -page +0+0 $FILE -page +0+0 <(cat << EOF +<?xml version="1.0" encoding="UTF-8"?> +<svg width="$WIDTH" height="$HEIGHT" version="1.1" xmlns="http://www.w3.org/2000/svg"> + <g transform="translate($X,$Y)"> + <rect x="0" y="0" width="$W" height="$H" ry="$RY" fill="#ff0000" stroke="#ff0000"/> + <text x="$TX" y="$TY" dominant-baseline="top" text-anchor="middle" fill="#ffffff" stroke="#cccccc" font-family="Ubuntu" font-size="$FS">$1</text> + </g> +</svg> +EOF +) -layers merge $2 +} + +for i in {1..9} +do + makeicon $i "$NAME-notify-$i.$EXT" +done +makeicon + "$NAME-notify-10.$EXT" diff --git a/src/icons/app/resize.sh b/src/icons/app/resize.sh new file mode 100755 index 0000000..a2fd54b --- /dev/null +++ b/src/icons/app/resize.sh @@ -0,0 +1,155 @@ +#!/bin/bash + +# Edit the settings below: + +# Output sizes - +# Please note the format: each size is wrapped with quotes, width and height are separated with space. +output=("16 16" "32 32" "64 64" "128 128" "256 256" "512 512" ) + +# If you frequently use the same source file (f.e. "~/Desktop/src.jpg"), +# set it in "default_src" +default_src=""; + +# If you frequently use the same destination +# (f.e. "~/Desktop/Some_folder/%.jpg"), set it in "default_dst" +# Destination must include "%", it will be replaced by output size, f.e. "800x600" +default_dst="%.png"; + +# Add signature? +default_sign='n' + +# If you frequently use the same signature file (f.e. "~/Desktop/sig.png"), +# set it in "default_sig" +default_sig=""; + +# Gravity is for cropping left/right edges for different proportions (center, east, west) +default_gravity="center" + +# Output JPG quality: maximum is 100 (recommended) +quality=100 + +# ====== +# Do not edit below. +# ====== +# Welcome to Smashing resizer! +# Written by Vlad Gerasimov from http://www.vladstudio.com +# +# This script takes one "source" image and saves it in different sizes. +# +# Requires: +# * imagemagick - http://www.imagemagick.org/ +# * python - I'm sure your PC already has it! + + + +# Unfortunately, bash is awful at math operations. +# We'll create a simple function that handles math for us. +# Example: $(math 2 * 2) + +function math(){ + echo $(python -c "from __future__ import division; print $@") +} + + + +# To make our script short and nice, here is the "save()" function. +# We'll use it to save each size. + +function save(){ + + # read target width and height from function parameters + local dst_w=${1} + local dst_h=${2} + + # calculate ratio + local ratio=$(math $dst_w/$dst_h); + + # calculate "intermediate" width and height + local inter_w=$(math "int(round($src_h*$ratio))") + local inter_h=${src_h} + + # which size we're saving now + #local size="${dst_w}x${dst_h}" + local size="${dst_w}" + echo "Saving ${size}..." + + #crop intermediate image (with target ratio) + convert ${src} -gravity ${gravity} -crop ${inter_w}x${inter_h}+0+0 +repage temp.psd + + # apply signature + if [ "${sign}" == "y" ]; then + convert temp.psd ${sig} -gravity southeast -geometry ${sig_w}x${sig_h}+24+48 -composite temp.psd + fi + + ## For best quality, I resize image 80%, sharpen 3 times, then repeat. + + # setup resize filter and unsharp parameters (calculated through trial and error) + local arguments="-interpolate bicubic -filter Lagrange" + local unsharp="-unsharp 0.4x0.4+0.4+0.008" + + # scale 80%, sharpen, repeat until less than 150% of target size + local current_w=${dst_w} + + # pardon moi for such ugly while condition! + while [ $(math "${current_w}/${dst_w} > 1.5") = "True" ]; do + current_w=$(math ${current_w}\*0\.80) + current_w=$(math "int(round(${current_w}))") + arguments="${arguments} -resize 80% +repage ${unsharp} ${unsharp} ${unsharp} " + done + + # final resize + arguments="${arguments} -resize ${dst_w}x${dst_h}! +repage ${unsharp} ${unsharp} ${unsharp} -density 72x72 +repage" + + # final convert! resize, sharpen, save + convert temp.psd ${arguments} -quality ${quality} ${dst/\%/${size}} + +} + +# Ask for source image, or use default value +echo "Enter path to source image, or hit Enter to keep default value (${default_src}): " +read src +src=${src:-${default_src}} + +# ask for destination path, or use default value +echo "Enter destination path, or hit Enter to keep default value (${default_dst})." +echo "must include % symbol, it will be replaced by output size, f.e. '800x600'" +read dst +dst=${dst:-${default_dst}} + +# Ask for signature image, or use default value +echo "Apply signature? (hit Enter for 'yes' or type 'n' for 'no') " +read sign +sign=${sign:-${default_sign}} + +# Ask for signature image, or use default value +echo "Enter path to signature image, or hit Enter to keep default value (${default_sig}): " +read sig +sig=${sig:-${default_sig}} + +# ask for gravity, or use default value +echo "Enter gravity for cropping left/right edges (center, east, west), or hit Enter to keep default value (${default_gravity}): " +read gravity +gravity=${gravity:-${default_gravity}} + + +# detect source image width and height +src_w=$(identify -format "%w" "${src}") +src_h=$(identify -format "%h" "${src}") + +# detect signature width and height +if [ "${sign}" == "y" ]; then + sig_w=$(identify -format "%w" "${sig}") + sig_h=$(identify -format "%h" "${sig}") +fi + +# loop throught output sizes and save each size +for i in "${output[@]}" +do + save ${i} +done + +# Delete temporary file +rm temp.psd + +# Done! +echo "Done!" diff --git a/src/icons/app/whatsapp-message-32.png b/src/icons/app/whatsapp-message-32.png Binary files differnew file mode 100644 index 0000000..77e3b56 --- /dev/null +++ b/src/icons/app/whatsapp-message-32.png diff --git a/src/icons/app/whatsapp-message.svg b/src/icons/app/whatsapp-message.svg new file mode 100644 index 0000000..7f56fa4 --- /dev/null +++ b/src/icons/app/whatsapp-message.svg @@ -0,0 +1,94 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + height="100%" + style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;" + version="1.1" + viewBox="0 0 24 24" + width="100%" + xml:space="preserve" + id="svg2" + inkscape:version="0.91 r13725" + sodipodi:docname="whatsapp.svg"><metadata + id="metadata19"><rdf:RDF><cc:Work + rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs + id="defs17"><filter + inkscape:label="Fill Background" + inkscape:menu="Fill and Transparency" + inkscape:menu-tooltip="Adds a colorizable opaque background" + style="color-interpolation-filters:sRGB;" + id="filter843"><feFlood + result="result1" + flood-color="rgb(255,0,0)" + flood-opacity="1" + id="feFlood845" /><feImage + xlink:href="" + result="result2" + id="feImage847" /><feBlend + result="result4" + in2="result1" + mode="multiply" + id="feBlend849" /><feMerge + result="result3" + id="feMerge851"><feMergeNode + in="result1" + id="feMergeNode853" /><feMergeNode + in="SourceGraphic" + id="feMergeNode855" /></feMerge></filter></defs><sodipodi:namedview + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1" + objecttolerance="10" + gridtolerance="10" + guidetolerance="10" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:window-width="1311" + inkscape:window-height="744" + id="namedview15" + showgrid="false" + inkscape:zoom="8.4606523" + inkscape:cx="9.4540046" + inkscape:cy="19.836975" + inkscape:window-x="55" + inkscape:window-y="24" + inkscape:window-maximized="1" + inkscape:current-layer="svg2" /><rect + height="24" + id="Artboard1" + style="fill:none;" + width="24" + x="0" + y="0" /><g + id="g5"><g + id="g7"><path + d="M4.018,17.048c-0.96,-1.484 -1.518,-3.253 -1.518,-5.151c0,-5.243 4.257,-9.5 9.5,-9.5c5.243,0 9.5,4.257 9.5,9.5c0,5.243 -4.257,9.5 -9.5,9.5c-1.777,0 -3.44,-0.489 -4.863,-1.339l-4.637,1.545l1.518,-4.555Z" + style="fill:#f3f3f3;" + id="path9" /><path + d="M5.795,16.304c-0.886,-1.244 -1.407,-2.765 -1.407,-4.407c0,-4.201 3.411,-7.612 7.612,-7.612c4.201,0 7.612,3.411 7.612,7.612c0,4.201 -3.411,7.611 -7.612,7.611c-1.59,0 -3.066,-0.488 -4.288,-1.323l-2.862,0.954l0.945,-2.835Z" + style="fill:#00a82d;" + id="path11" /></g><path + d="M9.714,13.873c-1.124,-1.374 -1.874,-3.056 -2.109,-4.88c-0.063,-0.508 0.106,-1.018 0.461,-1.387c0.355,-0.369 0.858,-0.558 1.368,-0.515l0.049,0.005c0,0 0.561,0.15 0.868,0.233c0.122,0.033 0.219,0.124 0.26,0.243c0.138,0.41 0.464,1.373 0.618,1.826c0.05,0.147 0.004,0.31 -0.114,0.41c-0.233,0.196 -0.618,0.52 -0.858,0.723c-0.129,0.109 -0.17,0.29 -0.1,0.443c0.279,0.608 0.635,1.176 1.057,1.69c0.434,0.502 0.933,0.949 1.485,1.327c0.14,0.095 0.325,0.085 0.454,-0.024c0.241,-0.202 0.626,-0.526 0.858,-0.722c0.119,-0.1 0.287,-0.117 0.424,-0.043c0.42,0.228 1.314,0.712 1.694,0.918c0.111,0.06 0.185,0.172 0.196,0.297c0.029,0.317 0.083,0.895 0.083,0.895l-0.004,0.049c-0.044,0.51 -0.315,0.974 -0.739,1.261c-0.424,0.288 -0.955,0.368 -1.445,0.22c-1.772,-0.545 -3.313,-1.581 -4.479,-2.937l-0.027,-0.032Z" + style="fill:#f3f3f3;" + id="path13" /></g><path + style="fill:#ff0000;fill-rule:evenodd;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:1.41420996;stroke-dasharray:none;stroke-opacity:1" + id="path904" + sodipodi:type="arc" + sodipodi:cx="17.079062" + sodipodi:cy="7.2755213" + sodipodi:rx="2.6593695" + sodipodi:ry="2.6593695" + sodipodi:start="0" + sodipodi:end="6.2744587" + sodipodi:open="true" + d="M 19.738431,7.2755213 A 2.6593695,2.6593695 0 0 1 17.084863,9.9348844 2.6593695,2.6593695 0 0 1 14.419717,7.2871249 2.6593695,2.6593695 0 0 1 17.061656,4.6162088 2.6593695,2.6593695 0 0 1 19.73833,7.2523143" + inkscape:transform-center-x="-0.23638866" + inkscape:transform-center-y="-0.70916464" /></svg>
\ No newline at end of file diff --git a/src/icons/app/whatsapp.svg b/src/icons/app/whatsapp.svg new file mode 100644 index 0000000..0b81505 --- /dev/null +++ b/src/icons/app/whatsapp.svg @@ -0,0 +1,81 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + height="100%" + style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;" + version="1.1" + viewBox="0 0 24 24" + width="100%" + xml:space="preserve" + id="svg2" + inkscape:version="0.91 r13725" + sodipodi:docname="whatsapp.svg"><metadata + id="metadata19"><rdf:RDF><cc:Work + rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title /></cc:Work></rdf:RDF></metadata><defs + id="defs17"><filter + inkscape:label="Fill Background" + inkscape:menu="Fill and Transparency" + inkscape:menu-tooltip="Adds a colorizable opaque background" + style="color-interpolation-filters:sRGB;" + id="filter843"><feFlood + result="result1" + flood-color="rgb(255,0,0)" + flood-opacity="1" + id="feFlood845" /><feImage + xlink:href="" + result="result2" + id="feImage847" /><feBlend + result="result4" + in2="result1" + mode="multiply" + id="feBlend849" /><feMerge + result="result3" + id="feMerge851"><feMergeNode + in="result1" + id="feMergeNode853" /><feMergeNode + in="SourceGraphic" + id="feMergeNode855" /></feMerge></filter></defs><sodipodi:namedview + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1" + objecttolerance="10" + gridtolerance="10" + guidetolerance="10" + inkscape:pageopacity="0" + inkscape:pageshadow="2" + inkscape:window-width="1311" + inkscape:window-height="744" + id="namedview15" + showgrid="false" + inkscape:zoom="8.4606523" + inkscape:cx="-10.8163" + inkscape:cy="19.836975" + inkscape:window-x="55" + inkscape:window-y="24" + inkscape:window-maximized="1" + inkscape:current-layer="svg2" /><rect + height="24" + id="Artboard1" + style="fill:none;" + width="24" + x="0" + y="0" /><g + id="g5"><g + id="g7"><path + d="M4.018,17.048c-0.96,-1.484 -1.518,-3.253 -1.518,-5.151c0,-5.243 4.257,-9.5 9.5,-9.5c5.243,0 9.5,4.257 9.5,9.5c0,5.243 -4.257,9.5 -9.5,9.5c-1.777,0 -3.44,-0.489 -4.863,-1.339l-4.637,1.545l1.518,-4.555Z" + style="fill:#f3f3f3;" + id="path9" /><path + d="M5.795,16.304c-0.886,-1.244 -1.407,-2.765 -1.407,-4.407c0,-4.201 3.411,-7.612 7.612,-7.612c4.201,0 7.612,3.411 7.612,7.612c0,4.201 -3.411,7.611 -7.612,7.611c-1.59,0 -3.066,-0.488 -4.288,-1.323l-2.862,0.954l0.945,-2.835Z" + style="fill:#00a82d;" + id="path11" /></g><path + d="M9.714,13.873c-1.124,-1.374 -1.874,-3.056 -2.109,-4.88c-0.063,-0.508 0.106,-1.018 0.461,-1.387c0.355,-0.369 0.858,-0.558 1.368,-0.515l0.049,0.005c0,0 0.561,0.15 0.868,0.233c0.122,0.033 0.219,0.124 0.26,0.243c0.138,0.41 0.464,1.373 0.618,1.826c0.05,0.147 0.004,0.31 -0.114,0.41c-0.233,0.196 -0.618,0.52 -0.858,0.723c-0.129,0.109 -0.17,0.29 -0.1,0.443c0.279,0.608 0.635,1.176 1.057,1.69c0.434,0.502 0.933,0.949 1.485,1.327c0.14,0.095 0.325,0.085 0.454,-0.024c0.241,-0.202 0.626,-0.526 0.858,-0.722c0.119,-0.1 0.287,-0.117 0.424,-0.043c0.42,0.228 1.314,0.712 1.694,0.918c0.111,0.06 0.185,0.172 0.196,0.297c0.029,0.317 0.083,0.895 0.083,0.895l-0.004,0.049c-0.044,0.51 -0.315,0.974 -0.739,1.261c-0.424,0.288 -0.955,0.368 -1.445,0.22c-1.772,-0.545 -3.313,-1.581 -4.479,-2.937l-0.027,-0.032Z" + style="fill:#f3f3f3;" + id="path13" /></g></svg>
\ No newline at end of file |
