Optimize images with oxipng and svgcleaner

This commit is contained in:
Aaron Franke
2024-10-27 18:12:13 -07:00
parent fcd6a08d69
commit 61e48a3bcd
11 changed files with 3 additions and 153 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 69 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

After

Width:  |  Height:  |  Size: 56 KiB

View File

@@ -1,28 +1 @@
<svg width="128" height="128" viewBox="0 0 128 128" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M20 91H108V112C108 116.418 104.418 120 100 120H28C23.5817 120 20 116.418 20 112V91Z" fill="url(#paint0_linear_3_59)"/>
<rect x="20" y="8" width="88" height="96" rx="8" fill="#62A0EA"/>
<rect x="28" y="16" width="72" height="80" fill="#3368AA"/>
<rect x="71" y="32" width="29" height="20" fill="#B5835A"/>
<rect opacity="0.5" x="75" y="35" width="18" height="5" fill="white"/>
<rect opacity="0.5" x="75" y="42" width="12" height="3" fill="white"/>
<rect x="28" y="76" width="29" height="20" fill="#B5835A"/>
<rect opacity="0.5" x="32" y="79" width="18" height="5" fill="white"/>
<rect opacity="0.5" x="32" y="86" width="12" height="3" fill="white"/>
<rect x="28" y="52" width="72" height="7" fill="#62A0EA"/>
<rect x="28" y="24" width="43" height="28" fill="#D4A782"/>
<rect opacity="0.5" x="31" y="27" width="20" height="5" fill="white"/>
<rect opacity="0.5" x="31" y="34" width="15" height="3" fill="white"/>
<rect width="43" height="28" transform="matrix(-1 0 0 1 100 68)" fill="#D4A782"/>
<rect opacity="0.5" x="60" y="71" width="20" height="5" fill="white"/>
<rect opacity="0.5" x="60" y="78" width="15" height="3" fill="white"/>
<defs>
<linearGradient id="paint0_linear_3_59" x1="20" y1="120" x2="108" y2="120" gradientUnits="userSpaceOnUse">
<stop stop-color="#3574BF"/>
<stop offset="0.0625" stop-color="#62A0EA"/>
<stop offset="0.125" stop-color="#2C6DBB"/>
<stop offset="0.875" stop-color="#2467B8"/>
<stop offset="0.9375" stop-color="#62A0EA"/>
<stop offset="1" stop-color="#1A5FB4"/>
</linearGradient>
</defs>
</svg>
<svg fill="none" height="128" viewBox="0 0 128 128" width="128" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a" gradientUnits="userSpaceOnUse" x1="20" x2="108" y1="120" y2="120"><stop offset="0" stop-color="#3574bf"/><stop offset=".0625" stop-color="#62a0ea"/><stop offset=".125" stop-color="#2c6dbb"/><stop offset=".875" stop-color="#2467b8"/><stop offset=".9375" stop-color="#62a0ea"/><stop offset="1" stop-color="#1a5fb4"/></linearGradient><path d="m20 91h88v21c0 4.418-3.582 8-8 8h-72c-4.4183 0-8-3.582-8-8z" fill="url(#a)"/><rect fill="#62a0ea" height="96" rx="8" width="88" x="20" y="8"/><path d="m28 16h72v80h-72z" fill="#3368aa"/><path d="m71 32h29v20h-29z" fill="#b5835a"/><path d="m75 35h18v5h-18z" fill="#fff" opacity=".5"/><path d="m75 42h12v3h-12z" fill="#fff" opacity=".5"/><path d="m28 76h29v20h-29z" fill="#b5835a"/><path d="m32 79h18v5h-18z" fill="#fff" opacity=".5"/><path d="m32 86h12v3h-12z" fill="#fff" opacity=".5"/><path d="m28 52h72v7h-72z" fill="#62a0ea"/><path d="m28 24h43v28h-43z" fill="#d4a782"/><path d="m31 27h20v5h-20z" fill="#fff" opacity=".5"/><path d="m31 34h15v3h-15z" fill="#fff" opacity=".5"/><path d="m0 0h43v28h-43z" fill="#d4a782" transform="matrix(-1 0 0 1 100 68)"/><g fill="#fff"><path d="m60 71h20v5h-20z" opacity=".5"/><path d="m60 78h15v3h-15z" opacity=".5"/></g></svg>

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -1,5 +1 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M4 8H9V9H4V8Z" fill="black"/>
<path d="M4 10H7V11H4V10Z" fill="black"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M4 3C3.44772 3 3 3.44772 3 4C3 4.55228 3.44772 5 4 5H7V3H4ZM9 3V5H12C12.5523 5 13 4.55228 13 4C13 3.44772 12.5523 3 12 3H9ZM9 7H7H4C3.64936 7 3.31278 6.93985 3 6.82929V12C3 12.5523 3.44772 13 4 13H12C12.5523 13 13 12.5523 13 12V6.82929C12.6872 6.93985 12.3506 7 12 7H9ZM4 1C2.34315 1 1 2.34315 1 4V12C1 13.6569 2.34315 15 4 15H12C13.6569 15 15 13.6569 15 12V4C15 2.34315 13.6569 1 12 1H4Z" fill="black"/>
</svg>
<svg fill="none" height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><g fill="#000"><path d="m4 8h5v1h-5z"/><path d="m4 10h3v1h-3z"/><path clip-rule="evenodd" d="m4 3c-.55228 0-1 .44772-1 1s.44772 1 1 1h3v-2zm5 0v2h3c.5523 0 1-.44772 1-1s-.4477-1-1-1zm0 4h-2-3c-.35064 0-.68722-.06015-1-.17071v5.17071c0 .5523.44772 1 1 1h8c.5523 0 1-.4477 1-1v-5.17071c-.3128.11056-.6494.17071-1 .17071zm-5-6c-1.65685 0-3 1.34315-3 3v8c0 1.6569 1.34315 3 3 3h8c1.6569 0 3-1.3431 3-3v-8c0-1.65685-1.3431-3-3-3z" fill-rule="evenodd"/></g></svg>

Before

Width:  |  Height:  |  Size: 638 B

After

Width:  |  Height:  |  Size: 553 B

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 257 KiB

After

Width:  |  Height:  |  Size: 223 KiB