indico icon indicating copy to clipboard operation
indico copied to clipboard

Unoptimized Indico PNG logo

Open paulmenzel opened this issue 3 years ago • 1 comments

OptiPNG version 0.7.7 is able to half the Indico PNG logo size from 4 kB to 2 kB.

$ identify logo_indico_bw.png
logo_indico_bw.png PNG 264x108 264x108+0+0 8-bit sRGB 3795B 0.000u 0:00.000
$ optipng logo_indico_bw.png
** Processing: logo_indico_bw.png
264x108 pixels, 4x8 bits/pixel, RGB+alpha
Reducing image to 8 bits/pixel, 17 colors (16 transparent) in palette
Input IDAT size = 3680 bytes
Input file size = 3795 bytes

Trying:
  zc = 9  zm = 8  zs = 0  f = 0		IDAT size = 1958
  zc = 9  zm = 8  zs = 1  f = 0		IDAT size = 1945
                               
Selecting parameters:
  zc = 9  zm = 8  zs = 1  f = 0		IDAT size = 1945

Output IDAT size = 1945 bytes (1735 bytes decrease)
Output file size = 2151 bytes (1644 bytes = 43.32% decrease)

The SVG logo indico/web/static/images/src/indico_co.svg with 7 kB is unfortunately bigger.

paulmenzel avatar Aug 05 '22 09:08 paulmenzel

I don't think it's really noticeable (our JS/CSS is quite huge, those 2kb won't make a difference), but feel free to send a PR to update the PNG it with an optimized version :)

ThiefMaster avatar Aug 05 '22 09:08 ThiefMaster