Closed Bug 995412 Opened 10 years ago Closed 10 years ago

Graphic assets for desktop Sync should be run through an optimizer to reduce size

Categories

(Firefox :: Sync, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 32

People

(Reporter: rfeeley, Assigned: rnewman)

Details

Attachments

(1 file)

Attached image imageOptim.png
I can't guarantee that this won't introduce issues, but if you run the image assets through an optimizer (I use ImageOptim on Mac with includes several) you can save a lot on file size. See attached example for welcome graphic.
I actually pngquanted everything for Android (Bug 959833); the changes Nick landed might have undone that. I don't think anything's been done for desktop. Is this bug for desktop?
(In reply to Richard Newman [:rnewman] from comment #1)
> I actually pngquanted everything for Android (Bug 959833); the changes Nick
> landed might have undone that. I don't think anything's been done for
> desktop. Is this bug for desktop?

I certainly used pngquant when landing new assets: https://bugzilla.mozilla.org/show_bug.cgi?id=974129#c10.

I'm guessing this is desktop only.
I only tested this on desktop. Glad to hear you squish first!
OS: Mac OS X → All
Hardware: x86 → All
Summary: Graphic assets for Sync should be run through an optimizer to reduce size → Graphic assets for desktop Sync should be run through an optimizer to reduce size
I attempted to quantize these myself, and I noticed odd color shifting -- presumably the original tools had set some flag than pngquant doesn't respect.

pngcrush appeared visually indistinguishable, and knocked 30% off the file size, so done (for the three files in aboutaccounts/):

https://hg.mozilla.org/integration/fx-team/rev/c2ba65436960
Assignee: nobody → rnewman
Status: NEW → ASSIGNED
Richard, that could be the colour profile embedded in the PNG. I wish they hadn't included colour profiles in the spec. Just makes a mess.

Mark, can you handle this issue for desktop? The graphic assets need optimizing.
Flags: needinfo?(mhammond)
(In reply to Ryan Feeley from comment #5)

> Mark, can you handle this issue for desktop? The graphic assets need
> optimizing.

I did the three desktop ones I found -- I just only used pngcrush, not pngquant. The Android ones are already quanted.
Flags: needinfo?(mhammond)
https://hg.mozilla.org/mozilla-central/rev/c2ba65436960
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 32
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: