From f00cf295d3744a2a33f91b72d181fd6613f9d758 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20Dziewo=C5=84ski?= Date: Thu, 20 Feb 2014 08:47:09 +0000 Subject: [PATCH] Optimize all SVGs Passed with svgo 0.4.2 , then prepended '' prolog to each file since svgo sees it fit to remove it and that breaks file type detection. svgo truncated all numerical values to a maximum of 3 decimal places of precision. world_map.svg: Removed very tiny separated path segments (by insetting and then outsetting the path). Scaled down to the size at which the image is used. This makes the image smaller than 32 KiB so it will now be inlined be resource loader instead of beign requested separately. Image orig new clear 1268 298 close 1370 369 icon-language 2560 1816 search 1025 480 world_map 71624 19488 --- images/clear.svg | 45 +----------------------------------- images/close.svg | 49 +--------------------------------------- images/icon-language.svg | 27 +--------------------- images/search.svg | 17 +------------- images/world_map.svg | 15 +----------- 5 files changed, 5 insertions(+), 148 deletions(-) mode change 100755 => 100644 images/clear.svg mode change 100755 => 100644 images/close.svg mode change 100755 => 100644 images/search.svg diff --git a/images/clear.svg b/images/clear.svg old mode 100755 new mode 100644 index 619de52..6ca59c2 --- a/images/clear.svg +++ b/images/clear.svg @@ -1,44 +1 @@ - - - - - - - - - image/svg+xml - - - - - - - - + \ No newline at end of file diff --git a/images/close.svg b/images/close.svg old mode 100755 new mode 100644 index 8e92895..b39a0ff --- a/images/close.svg +++ b/images/close.svg @@ -1,48 +1 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - + \ No newline at end of file diff --git a/images/icon-language.svg b/images/icon-language.svg index 35c5b3b..9f439be 100644 --- a/images/icon-language.svg +++ b/images/icon-language.svg @@ -1,26 +1 @@ - - - - - - - - - - + \ No newline at end of file diff --git a/images/search.svg b/images/search.svg old mode 100755 new mode 100644 index 014c003..bd28b5a --- a/images/search.svg +++ b/images/search.svg @@ -1,16 +1 @@ - - - - - - -image/svg+xml - - - - - - - - - + \ No newline at end of file diff --git a/images/world_map.svg b/images/world_map.svg index e5c4920..54f68b8 100644 --- a/images/world_map.svg +++ b/images/world_map.svg @@ -1,14 +1 @@ - - - - - - -image/svg+xml - - - - - - - + \ No newline at end of file