git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] gitweb: Optimize git-favicon.png

From
Benjamin Kramer <benny.kra@googlemail.com>
Date
Aug 10, 2009, 12:09 UTC
Message-ID
<4A800DDC.8070301@googlemail.com>
In-Reply-To
<200908101357.49967.jnareb@gmail.com>

Reduce size of git-favicon.png using a combination of optipng and pngout. From 164 bytes to 115 bytes (30% reduction). Also reduce git-logo.png's size by one byte using advcomp.

Signed-off-by: Benjamin Kramer <benny.kra@googlemail.com>
---
Am 10.08.09 13:57, schrieb Jakub Narebski:
Show 5 quoted lines
> 
> Can you optimize git-logo.png?  Smush.it wasn't able to do it, but
> perhaps different PNG optimization tool will reduce git-logo.png
> size...
> 

advcomp was able to shave one byte off git-logo.png. I don't know if that's worth the effort.

 gitweb/git-favicon.png |  Bin 164 -> 115 bytes
 gitweb/git-logo.png    |  Bin 208 -> 207 bytes
 2 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/gitweb/git-favicon.png b/gitweb/git-favicon.png
index de637c0608090162a6ce6b51d5f9bfe512cf8bcf..aae35a70e70351fe6dcb3e905e2e388cf0cb0ac3 100644
GIT binary patch
delta 85
zcmZ3&SUf?+pEJNG#Pt9J149GD|NsBH{?u>)*{Yr{jv*Y^lOtGJcy4sCvGS>LGzvuT
nGSco!%*slUXkjQ0+{(x>@rZKt$^5c~Kn)C@u6{1-oD!M<s|Fj6

delta 135
zcmXS3!Z<;to+rR3#Pt9J149GDe=s<ftM(tr<t*@sEM{Qf76xHPhFNnYfP!|OE{-7;
zjI0MY3OYE5upapO?DR{I1pyyR7cx(jY7y^{FfMCvb5IaiQM`NJfeQjFwttKJyJNq@
hveI=@x=fAo=hV3$-MIWu9%vGSr>mdKI;RB2CICA_GnfDX

diff --git a/gitweb/git-logo.png b/gitweb/git-logo.png
index 16ae8d5382de5ffe63b54139245143513a87446e..f4ede2e944868b9a08401dafeb2b944c7166fd0a 100644
GIT binary patch
delta 156
zcmV;N0Av5q0nY)D7zqdi0002!DLE{WAt!%wNkl<Zc-rli(F%Yd6hp6fOaK3mORa}A
z2z1~>otGhl0|P~i$)-spEt!DmG!4Oj(E`y{=&}QVPE<oMZAOGbjq8K~(J6VKR=YOW
zicn}%Cu(Zk>Vav`S8+sy%-3K4v`F-e93n=ACyP7?a2n|X$Q?(91Ro%p-ctYo000O{
KMNUMnLSTYNOFs$#

delta 157
zcmV;O0Al~o0nh=E7zqRe0000j+0-qOAt!%xNkl<ZD9>X^XCMShTo?)nDq>S%AOZ*t
zX+^A|p#d-qlVCO`QjxI%5!T^VWNd8AY-|jo3~(x91}ec~9kT%fQ=|y!00S5%RuR<U
zAeS59v<@{SaVdhCFu0Qn5xGT(!HuAzL?H$zL4rVq!9|H6Z~*|MJt4&s9Gd<B000R9
LNkvXXu0mjfVZ1Yp
-- 
1.6.4.67.gea5b1
 
Previous: Jakub Narebski
Message 4 of 4 in “gitweb: Optimize git-favicon.png”
  1. gitweb: Optimize git-favicon.pngJakub Narebski, Aug 10, 2009
  2. Benjamin KramerAug 10, 2009
  3. Jakub NarebskiAug 10, 2009
  4. Benjamin KramerAug 10, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.