From b137865362acba0f29eb9e35b69ce6bc70b42aa7 Mon Sep 17 00:00:00 2001 From: Terence Eden Date: Sun, 8 Nov 2020 22:32:47 +0000 Subject: [PATCH] Used Path Editor to Shrink Closes #478 --- README.md | 51 ++++++++++++++++++------------------ images/svg/amazon_alexa.svg | 2 +- images/svg/auth0.svg | 2 +- images/svg/bitbucket.svg | 2 +- images/svg/digitalocean.svg | 2 +- images/svg/disqus.svg | 2 +- images/svg/espressif.svg | 2 +- images/svg/git.svg | 2 +- images/svg/gradle.svg | 2 +- images/svg/iheartradio.svg | 2 +- images/svg/javascript.svg | 2 +- images/svg/ko-fi.svg | 2 +- images/svg/linux_mint.svg | 2 +- images/svg/markdown.svg | 2 +- images/svg/mattermost.svg | 2 +- images/svg/messenger.svg | 2 +- images/svg/ok.svg | 2 +- images/svg/opensource.svg | 2 +- images/svg/samsung_s.svg | 2 +- images/svg/slack.svg | 2 +- images/svg/svgo.yml | 52 ------------------------------------- images/svg/twitter.svg | 2 +- images/svg/wechat.svg | 2 +- images/svg/whatsapp.svg | 2 +- images/svg/wifi.svg | 2 +- images/svg/wire.svg | 2 +- images/svg/workato.svg | 2 +- 27 files changed, 51 insertions(+), 102 deletions(-) delete mode 100644 images/svg/svgo.yml diff --git a/README.md b/README.md index c8841f4a..d177b8d1 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Say thanks! ## How Small? -| 542 Bytes SVG | 7,225 Bytes PNG | 433 Bytes SVG | 5,568 Bytes PNG | 251 Bytes SVG | 5,031 Bytes PNG | +| 542 Bytes SVG | 7,225 Bytes PNG | 415 Bytes SVG | 5,568 Bytes PNG | 251 Bytes SVG | 5,031 Bytes PNG | | ------------- | --------------- | ------------- | --------------- | ------------- | --------------- | | | | | | | | @@ -23,7 +23,7 @@ Say thanks! flickr

251 Bytes Facebook

311 Bytes Tumblr

422 Bytes -Twitter

433 Bytes +Twitter

415 Bytes LinkedIn

370 Bytes Instagram

768 Bytes @@ -33,7 +33,7 @@ Say thanks! VK

534 Bytes Mastodon

550 Bytes imgur

279 Bytes -Slack

533 Bytes +Slack

531 Bytes dev.to

624 Bytes @@ -56,7 +56,7 @@ Say thanks! Deezer

733 Bytes -iHeartRadio

911 Bytes +iHeartRadio

894 Bytes Kodi

771 Bytes @@ -95,7 +95,7 @@ Say thanks! - + @@ -108,18 +108,18 @@ Say thanks! - + -  +  - + @@ -154,11 +154,11 @@ Say thanks! - + - + @@ -169,7 +169,7 @@ Say thanks! - + @@ -185,7 +185,7 @@ Say thanks! - + @@ -219,6 +219,7 @@ Say thanks! +
WhatsApp

484 Bytes
WhatsApp

479 Bytes
Telegram

419 Bytes
Skype

487 Bytes
Snapchat

649 Bytes
Viber

713 Bytes
Mailchimp

1010 Bytes
Threema

768 Bytes
Mattermost

617 Bytes
Mattermost

615 Bytes
Protonmail

437 Bytes
XMPP/Jabber

798 Bytes
Tutanota

627 Bytes
Messenger

833 Bytes
Messenger

825 Bytes
Discord

505 Bytes
Zoom

530 Bytes
Wire

276 Bytes
Wire

271 Bytes
Teamspeak

937 Bytes
Element

486 Bytes
CodePen

375 Bytes
DigitalOcean

263 Bytes
DigitalOcean

259 Bytes
Medium

379 Bytes
AirBnB

427 Bytes
Delicious

354 Bytes
Disqus

281 Bytes
Disqus

280 Bytes
Ghost

259 Bytes
Yelp

463 Bytes
Workato

445 Bytes
Workato

431 Bytes
Untappd

410 Bytes
Vivino

296 Bytes
Apereo

473 Bytes
Twitch

308 Bytes
OK.ru

652 Bytes
OK.ru

630 Bytes
Pocket

517 Bytes
StumbleUpon

598 Bytes
Opencast

312 Bytes
freeCodeCamp

1016 Bytes
Codeberg

837 Bytes
BitBucket

681 Bytes
@@ -230,12 +231,12 @@ Say thanks! Mail

572 Bytes Email

342 Bytes HTML5

399 Bytes -WiFi

602 Bytes +WiFi

583 Bytes W3C

539 Bytes Unicode

613 Bytes -Markdown

458 Bytes +Markdown

449 Bytes HAML

937 Bytes microformats

798 Bytes @@ -279,13 +280,13 @@ Say thanks! npm

301 Bytes Docker

431 Bytes IBM

503 Bytes -Open Source

262 Bytes +Open Source

259 Bytes Intel

757 Bytes VLC

670 Bytes Vegetarian

310 Bytes -Espressif

670 Bytes +Espressif

641 Bytes NHS

491 Bytes Orcid

421 Bytes HP

496 Bytes @@ -293,7 +294,7 @@ Say thanks! RedHat

561 Bytes CentOS

761 Bytes -Git

480 Bytes +Git

470 Bytes Microsoft

407 Bytes Grafana

973 Bytes Ubiquiti

558 Bytes @@ -303,7 +304,7 @@ Say thanks! Homekit

822 Bytes Pixelfed

990 Bytes Samsung

1023 Bytes -Samsung (alt.)

894 Bytes +Samsung (alt.)

870 Bytes Samsung (alt. 2)

935 Bytes @@ -327,7 +328,7 @@ Say thanks! Authy

347 Bytes HackerOne

446 Bytes Bitwarden

297 Bytes -Auth0

490 Bytes +Auth0

489 Bytes andOTP

608 Bytes OpenBugBounty

507 Bytes @@ -346,7 +347,7 @@ Say thanks! Bitcoin

529 Bytes Ethereum

463 Bytes Liberapay

565 Bytes -Ko-Fi

423 Bytes +Ko-Fi

421 Bytes Flattr

347 Bytes @@ -381,13 +382,13 @@ Say thanks! Rust

1007 Bytes Clojure

632 Bytes CoffeeScript

534 Bytes -JavaScript

531 Bytes +JavaScript

519 Bytes Flutter

824 Bytes Backbone

463 Bytes Vue

286 Bytes -Gradle

738 Bytes +Gradle

691 Bytes Amber

753 Bytes Gitea

1006 Bytes Drone.io

490 Bytes @@ -424,7 +425,7 @@ Say thanks! Debian

937 Bytes -Linux Mint

1012 Bytes +Linux Mint

994 Bytes macOS

774 Bytes @@ -467,7 +468,7 @@ Say thanks! Ansible

430 Bytes Gojek

376 Bytes -Amazon Alexa

393 Bytes +Amazon Alexa

376 Bytes Finder

780 Bytes Roundcube

838 Bytes Fritz!

719 Bytes @@ -483,7 +484,7 @@ Bytes cost money. They cost money to store, transport, and process. Simplicity s ## Scream if you want to go smaller -These files were edited by hand in Inkscape, Illustrator, or a text editor, then were minified using [svgo](https://github.com/svg/svgo) and [svgcleaner](https://github.com/RazrFalcon/svgcleaner). Further smallification may be possible. Try it! +These files were edited by hand in Inkscape, Illustrator, or a text editor, then were minified using [Yann Armelin's SVG Path Editor](https://yqnn.github.io/svg-path-editor/), [svgo](https://github.com/svg/svgo), and [svgcleaner](https://github.com/RazrFalcon/svgcleaner). Further smallification may be possible. Try it! - Each of these has an `xmlns="http://www.w3.org/2000/svg"` in the `` tag. This isn't strictly necessary - but some web browsers won't display them as an image without it. - Rounded corners can be dropped - `rx="80"` - the effect can be done in CSS if you want. diff --git a/images/svg/amazon_alexa.svg b/images/svg/amazon_alexa.svg index 32d2cbde..edae1e4c 100644 --- a/images/svg/amazon_alexa.svg +++ b/images/svg/amazon_alexa.svg @@ -3,4 +3,4 @@ aria-label="Amazon Alexa" role="img" viewBox="0 0 512 512"> \ No newline at end of file +fill="#fff"/> \ No newline at end of file diff --git a/images/svg/auth0.svg b/images/svg/auth0.svg index fbda0477..64b4f3d0 100644 --- a/images/svg/auth0.svg +++ b/images/svg/auth0.svg @@ -3,4 +3,4 @@ aria-label="Auth0" role="img" viewBox="0 0 512 512"> \ No newline at end of file +fill="#fff"/> \ No newline at end of file diff --git a/images/svg/bitbucket.svg b/images/svg/bitbucket.svg index e29f487e..6c5c05a1 100644 --- a/images/svg/bitbucket.svg +++ b/images/svg/bitbucket.svg @@ -3,4 +3,4 @@ aria-label="Bitbucket" role="img" viewBox="0 0 512 512"> \ No newline at end of file +fill="#fff"/> \ No newline at end of file diff --git a/images/svg/digitalocean.svg b/images/svg/digitalocean.svg index 44b1cf4f..db7f12d5 100644 --- a/images/svg/digitalocean.svg +++ b/images/svg/digitalocean.svg @@ -3,4 +3,4 @@ aria-label="DigitalOcean" role="img" viewBox="0 0 512 512"> \ No newline at end of file +fill="#fff"/> \ No newline at end of file diff --git a/images/svg/disqus.svg b/images/svg/disqus.svg index 886b9055..3cbf65a9 100644 --- a/images/svg/disqus.svg +++ b/images/svg/disqus.svg @@ -3,4 +3,4 @@ aria-label="Disqus" role="img" viewBox="0 0 512 512"> \ No newline at end of file +fill="#fff"/> \ No newline at end of file diff --git a/images/svg/espressif.svg b/images/svg/espressif.svg index eee44d28..ec21cd99 100644 --- a/images/svg/espressif.svg +++ b/images/svg/espressif.svg @@ -3,4 +3,4 @@ aria-label="Espressif" role="img" viewBox="0 0 512 512"> \ No newline at end of file +fill="#ff3034"/> \ No newline at end of file diff --git a/images/svg/git.svg b/images/svg/git.svg index 16bf85c0..ec187f90 100644 --- a/images/svg/git.svg +++ b/images/svg/git.svg @@ -2,4 +2,4 @@ aria-label="Git" role="img" viewBox="0 0 512 512"> - \ No newline at end of file + \ No newline at end of file diff --git a/images/svg/gradle.svg b/images/svg/gradle.svg index 9dc73538..97a66819 100644 --- a/images/svg/gradle.svg +++ b/images/svg/gradle.svg @@ -3,4 +3,4 @@ aria-label="Gradle" role="img" viewBox="0 0 512 512"> +fill="#fff"/> diff --git a/images/svg/iheartradio.svg b/images/svg/iheartradio.svg index 81b68d55..2ecb5877 100644 --- a/images/svg/iheartradio.svg +++ b/images/svg/iheartradio.svg @@ -3,4 +3,4 @@ aria-label="iHeartRadio" role="img" viewBox="0 0 512 512"> \ No newline at end of file +rx="15%"/> \ No newline at end of file diff --git a/images/svg/javascript.svg b/images/svg/javascript.svg index 6a58780e..6c0f077f 100644 --- a/images/svg/javascript.svg +++ b/images/svg/javascript.svg @@ -3,4 +3,4 @@ aria-label="JavaScript" role="img" viewBox="0 0 512 512"> \ No newline at end of file +fill="#f7df1e"/> \ No newline at end of file diff --git a/images/svg/ko-fi.svg b/images/svg/ko-fi.svg index d5517238..3d49f40e 100644 --- a/images/svg/ko-fi.svg +++ b/images/svg/ko-fi.svg @@ -3,4 +3,4 @@ aria-label="Ko-Fi" role="img" viewBox="0 0 512 512"> \ No newline at end of file +fill="#478db1"/> \ No newline at end of file diff --git a/images/svg/linux_mint.svg b/images/svg/linux_mint.svg index 9bcafa0a..e32433ea 100644 --- a/images/svg/linux_mint.svg +++ b/images/svg/linux_mint.svg @@ -1,4 +1,4 @@ +viewBox="0 0 512 512"> diff --git a/images/svg/markdown.svg b/images/svg/markdown.svg index 75534f48..d8eb9084 100644 --- a/images/svg/markdown.svg +++ b/images/svg/markdown.svg @@ -3,4 +3,4 @@ aria-label="Markdown" role="img" viewBox="0 0 512 512"> \ No newline at end of file +fill="#fff"/> \ No newline at end of file diff --git a/images/svg/mattermost.svg b/images/svg/mattermost.svg index c1c59556..e3f1d28f 100644 --- a/images/svg/mattermost.svg +++ b/images/svg/mattermost.svg @@ -3,4 +3,4 @@ aria-label="Mattermost" role="img" viewBox="0 0 512 512"> \ No newline at end of file +fill="#fff"/> \ No newline at end of file diff --git a/images/svg/messenger.svg b/images/svg/messenger.svg index fd42b318..06920b3e 100644 --- a/images/svg/messenger.svg +++ b/images/svg/messenger.svg @@ -3,4 +3,4 @@ aria-label="Messenger" role="img" viewBox="0 0 512 512"> \ No newline at end of file +fill="#fff"/> \ No newline at end of file diff --git a/images/svg/ok.svg b/images/svg/ok.svg index d03142e8..ae13d0a7 100644 --- a/images/svg/ok.svg +++ b/images/svg/ok.svg @@ -3,4 +3,4 @@ aria-label="OK.ru" role="img" viewBox="0 0 512 512"> \ No newline at end of file +fill="#EE8208"/> \ No newline at end of file diff --git a/images/svg/opensource.svg b/images/svg/opensource.svg index 8acc32dd..0fe0641c 100644 --- a/images/svg/opensource.svg +++ b/images/svg/opensource.svg @@ -1,3 +1,3 @@ \ No newline at end of file +viewBox="0 0 512 512"> \ No newline at end of file diff --git a/images/svg/samsung_s.svg b/images/svg/samsung_s.svg index 793497bd..41ff532f 100644 --- a/images/svg/samsung_s.svg +++ b/images/svg/samsung_s.svg @@ -3,4 +3,4 @@ aria-label="Samsung" role="img" viewBox="0 0 512 512" fill="#117cad"> +fill="#fff"/> diff --git a/images/svg/slack.svg b/images/svg/slack.svg index 1832b465..c09453bb 100644 --- a/images/svg/slack.svg +++ b/images/svg/slack.svg @@ -3,4 +3,4 @@ aria-label="Slack" role="img" viewBox="0 0 512 512"> \ No newline at end of file +fill="#fff"/> \ No newline at end of file diff --git a/images/svg/svgo.yml b/images/svg/svgo.yml deleted file mode 100644 index e9a40b15..00000000 --- a/images/svg/svgo.yml +++ /dev/null @@ -1,52 +0,0 @@ -# SVGO config -# Usage: -# svgo --config=svgo.yml --precision 2 - -full: true -multipass: true -plugins: - - addAttributesToSVGElement - - addClassesToSVGElement - - cleanupAttrs - - cleanupEnableBackground - - cleanupIDs - - cleanupListOfValues - - cleanupNumericValues - - collapseGroups - - convertColors - - convertPathData - - convertShapeToPath - - convertStyleToAttrs - - convertTransform - - inlineStyles - - mergePaths - - minifyStyles - - moveElemsAttrsToGroup - - moveGroupAttrsToElems - - prefixIds - - removeAttrs - - removeComments - - removeDesc - - removeDimensions - - removeDoctype - - removeEditorsNSData - - removeElementsByAttr: false - - removeEmptyAttrs - - removeEmptyContainers - - removeEmptyText - - removeHiddenElems - - removeMetadata - - removeNonInheritableGroupAttrs - - removeRasterImages: false - - removeScriptElement: false - - removeStyleElement: false - - removeTitle - - removeUnknownsAndDefaults: - unknownAttrs: false # Preserves 'role="img"', needed for accessibility: https://github.com/edent/SuperTinyIcons/pull/62#issuecomment-347227889 - - removeUnusedNS - - removeUselessDefs - - removeUselessStrokeAndFill - - removeViewBox - - removeXMLNS: false - - removeXMLProcInst - - sortAttrs: true # can help with transport-level compression diff --git a/images/svg/twitter.svg b/images/svg/twitter.svg index c5459fe2..dcd29618 100644 --- a/images/svg/twitter.svg +++ b/images/svg/twitter.svg @@ -3,4 +3,4 @@ aria-label="Twitter" role="img" viewBox="0 0 512 512"> +fill="#1da1f2"/> diff --git a/images/svg/wechat.svg b/images/svg/wechat.svg index d606b22e..4f4272ce 100644 --- a/images/svg/wechat.svg +++ b/images/svg/wechat.svg @@ -4,4 +4,4 @@ viewBox="0 0 512 512" fill="#fff"> \ No newline at end of file +fill="#00c70a"/> \ No newline at end of file diff --git a/images/svg/whatsapp.svg b/images/svg/whatsapp.svg index ca790598..0b12929f 100644 --- a/images/svg/whatsapp.svg +++ b/images/svg/whatsapp.svg @@ -3,4 +3,4 @@ aria-label="WhatsApp" role="img" viewBox="0 0 512 512"> \ No newline at end of file +fill="#25d366"/> \ No newline at end of file diff --git a/images/svg/wifi.svg b/images/svg/wifi.svg index 9fc8fa62..cb6dac4f 100644 --- a/images/svg/wifi.svg +++ b/images/svg/wifi.svg @@ -3,4 +3,4 @@ aria-label="WiFi" role="img" viewBox="0 0 512 512"> \ No newline at end of file +fill="#fff"/> \ No newline at end of file diff --git a/images/svg/wire.svg b/images/svg/wire.svg index 7809513d..860dc9fa 100644 --- a/images/svg/wire.svg +++ b/images/svg/wire.svg @@ -3,4 +3,4 @@ aria-label="Wire" role="img" viewBox="0 0 512 512"> \ No newline at end of file +fill="#fff"/> \ No newline at end of file diff --git a/images/svg/workato.svg b/images/svg/workato.svg index 9a733673..19cda6c3 100644 --- a/images/svg/workato.svg +++ b/images/svg/workato.svg @@ -4,4 +4,4 @@ viewBox="0 0 512 512" fill="#fff"> \ No newline at end of file +fill="#fff"/> \ No newline at end of file