The default bug view has changed. See this FAQ.

Replace about-logo.png with optimized version

RESOLVED FIXED in Firefox 23

Status

()

Firefox
General
--
trivial
RESOLVED FIXED
6 years ago
2 years ago

People

(Reporter: Frédéric Kayser, Assigned: Frédéric Kayser)

Tracking

({footprint})

Trunk
Firefox 23
footprint
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(2 attachments, 1 obsolete attachment)

(Assignee)

Description

6 years ago
User-Agent:       Mozilla/5.0 (Windows NT 6.0; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
Build Identifier: Mozilla/5.0 (Windows NT 6.0; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

In a effort to reduce the size of omni.jar and Firefox footprint, I offer you to replace current bloated images with pixel perfect identical ones that have been optimized using various tools (cryopng, pngout, pngwolf, deflopt and defluff) a lot of CPU cycles and a bit of luck.

File location in source:
mozilla-2.0/other-licenses/branding/firefox/content/about-logo.png

Ends up here:
omni.jar!/chrome/browser/content/branding/about-logo.png

Sizes
original:  55620 bytes
optimized: 49776 bytes
saved:      5844 bytes (more than 10%)

This bug report is a follow-up of Bug 631392

Reproducible: Always
(Assignee)

Updated

6 years ago
Keywords: footprint
Version: unspecified → 4.0 Branch
(Assignee)

Comment 1

6 years ago
Created attachment 528480 [details]
about-log.png (firefox branding) optimized
(Assignee)

Comment 2

6 years ago
Created attachment 563253 [details]
about-log.png (firefox branding) optimized

Even smaller file (used current version of pngout and huffmix to reduce size)
Attachment #528480 - Attachment is obsolete: true
(Assignee)

Comment 3

6 years ago
Created attachment 563264 [details] [diff] [review]
about-logo.png (firefox branding) optimized patch file

The new .png file size is 49502 bytes (6118 bytes smaller than the original - 10% smaller).
Attachment #563264 - Flags: review?(shorlander)
As I noted over in bug 631392, I'd rather we find a more general solution to this than tweaking images one by one. (That said, I'm fine with taking this bug since it was already in-flight when the discussion in 631392 happened.)

Comment 5

4 years ago
Comment on attachment 563264 [details] [diff] [review]
about-logo.png (firefox branding) optimized patch file

Review of attachment 563264 [details] [diff] [review]:
-----------------------------------------------------------------

I just realized that we use this on about:home, since it affects every about:home load.
Looks good to land. I don't see any reason to keep this trivial two-year-old bug open any longer.
Attachment #563264 - Flags: review?(shorlander) → review+

Comment 6

4 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/041e81903b53
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Summary: Replacement image for about-logo.png (Firefox branding) smaller optimized PNG. → Replace about-logo.png with optimized version
Target Milestone: --- → Firefox 23
Version: 4.0 Branch → Trunk
https://hg.mozilla.org/mozilla-central/rev/041e81903b53
Assignee: nobody → f.kayser
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED

Comment 8

2 years ago
The @firefox.exe icon is badly compressed; would shrink 31% if recompressed with Zopfli. (Chrome's shrinks 38 bytes.) pic.twitter.com/PuRXURJKwU
You need to log in before you can comment on or make changes to this bug.