Closed
Bug 1393225
Opened 7 years ago
Closed 7 years ago
Losslessly compress photon PNG assets
Categories
(Firefox for Android Graveyard :: General, enhancement)
Tracking
(firefox57 fixed)
RESOLVED
FIXED
Firefox 57
Tracking | Status | |
---|---|---|
firefox57 | --- | fixed |
People
(Reporter: mcomella, Assigned: mcomella)
References
Details
Attachments
(1 file)
We added a lot of new assets for photon and we have not optimized them yet. Most of these assets can be reduced by 40%+ in size.
See bug 1150974 for precedent. fwiw, in the past, I've used ImageOptim on macOS and something else on linux.
Assignee | ||
Comment 1•7 years ago
|
||
See bug 1150973 for doing this automatically in the future.
Assignee | ||
Comment 2•7 years ago
|
||
I used ImageOptim and drag-and-dropped all drawable* folders.
According to ImageOptim: "Saved 139 KB out of 303 KB. 45.4% per file on average
(up to 68.3%)."
Review commit: https://reviewboard.mozilla.org/r/171840/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/171840/
Attachment #8900471 -
Flags: review?(cnevinchen)
Assignee | ||
Comment 3•7 years ago
|
||
Nevin: FYI that this is something we should try to do regularly, to keep the APK size down.
Comment 4•7 years ago
|
||
mozreview-review |
Comment on attachment 8900471 [details]
Bug 1393225: Losslessly compress png assets in photon/ dir.
https://reviewboard.mozilla.org/r/171840/#review177388
Attachment #8900471 -
Flags: review?(cnevinchen) → review+
Pushed by michael.l.comella@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/7e3cd339e05d
Losslessly compress png assets in photon/ dir. r=nechen
Comment 6•7 years ago
|
||
(In reply to Michael Comella (:mcomella) from comment #3)
> Nevin: FYI that this is something we should try to do regularly, to keep the
> APK size down.
I think it's a built-in step in the Android Gradle plugin, but that doesn't mean we should ignore the resource costs. Thanks for thinking of this, Mike!
Comment 7•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox57:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•