DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Top banner weight  (Read 10,404 times)

Mark0

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 654
Top banner weight
« on: November 05, 2006, 03:49 PM »
I just noticed that the (beautyful!) top banner is an over 80KB PNG:



Isn't that a bit too much? I checked because I noticed it downloading when going to the homepage. I had probably cleaned the web cache, and saw it appearing nearly row-by-row.

So, I tried to come up with a couple of more lighter JPEG versions, without sacrificing too much quality:

(30KB)
(20KB)

What do you think?

Bye!

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Top banner weight
« Reply #1 on: November 05, 2006, 03:52 PM »
very good point, it makes sense to me and 80k is a bit heavy.  anyone else want to take a shot at optimizing? the 20k one looks a bit too noisy to me but i could live with the 30k one, and i lthink it looks nice a little lighter.

Mark0

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 654
Re: Top banner weight
« Reply #2 on: November 05, 2006, 03:55 PM »
Same for the forum top banner. The orginal PNG is about 34KB:



JPEG version:

(10KB)

Bye!

app103

  • That scary taskbar girl
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 5,888
    • Participated in NANY Challenge Six Times
    • Coding Snacks
    • Gathering Badge
    • Cody Award
    • Volunteers/Staff
Re: Top banner weight
« Reply #3 on: November 05, 2006, 04:02 PM »
There seems to be a color difference between the original and your compressed versions.

I tried it myself and came up with this at 10% compression:

topbanner_website-10%.jpg
34kb

topbanner_forum10%.jpg
14kb

Can't really go higher than 10% or there is a noticeable difference in quality. (noticeable to me at least)
« Last Edit: November 05, 2006, 04:07 PM by app103 »

vegas

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 357
Re: Top banner weight
« Reply #4 on: November 05, 2006, 09:24 PM »
Maybe a preference in board settings for each person, if they don't want to see big banners.  ;)  The smaller the better for me, more read space without having to scroll.  So reply #2 is my fav ;)

jgpaiva

  • Artificial Idiocy
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • Cody Award
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Portugal Inhabitant
    • Linux User
Re: Top banner weight
« Reply #5 on: November 05, 2006, 09:32 PM »
@vegas: notice that the matter here isn't the size in pixels of the banner, that is to be kept. What Mark0 means is that the current banners are too space-consuming due to lack of compression.

My opinion about this matter is that as long as the lack of quality isn't noticeable, it should be reduced. But i really don't make much fuzz about it because it's mostly loaded from opera's cache.
It might matter in terms of DC bandwidth, tough.

f0dder

  • [Well, THAT escalated quickly!]
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
    • Participated in NANY Challenge Once
Re: Top banner weight
« Reply #6 on: November 05, 2006, 10:44 PM »
By reducing the image to 8bpp, the png shrinks to ~25kb. There's some color banding and stuff, but I think it's not *too* bad. If somebody did a bit of manual work instead of just reducing the color depth, I'm pretty sure an 8bpp and goodlooking version could be created.
topbanner_website_256.png
- carpe noctem

Original address: https://www.donationcoder.com/forum/index.php?topic=6043.0