Closed Bug 1400953 Opened 7 years ago Closed 3 years ago

AppCompat assets aren't pngcrushed

Categories

(Firefox for Android Graveyard :: General, enhancement, P5)

enhancement

Tracking

(fennec+)

RESOLVED INCOMPLETE
Tracking Status
fennec + ---

People

(Reporter: catlee, Unassigned, NeedInfo)

References

(Blocks 1 open bug)

Details

We ship a bunch of png assets from appcompat that could be shrunk with tools like zopflipng or pngcrush. e.g.

res/drawable-xxhdpi-v4/common_plus_signin_btn_text_dark_normal.9.png   
res/drawable-xxhdpi-v4/common_plus_signin_btn_text_light_pressed.9.png
res/drawable-xxhdpi-v4/common_google_signin_btn_icon_light_focused.9.png
res/drawable-xxhdpi-v4/common_google_signin_btn_text_light_focused.9.png
res/drawable-xxhdpi-v4/common_plus_signin_btn_text_dark_pressed.9.png
res/drawable-xxhdpi-v4/common_plus_signin_btn_icon_dark_disabled.9.png
res/drawable-xxhdpi-v4/common_plus_signin_btn_text_dark_focused.9.png
res/drawable-xxhdpi-v4/common_plus_signin_btn_text_dark_disabled.9.png
https://gist.github.com/catlee/e227e17d2958ca1c7ffdb1f5001e3f3c has a full list of png files in a recent android build, along with a delta of size difference when run through zopflipng.
We should also figure out how to not ship most of these, which is the best kind of compression!
I guess some of them are removed?
Flags: needinfo?(topwu.tw)
tracking-fennec: ? → +
Priority: -- → P2
[triage] Non-critical.
Priority: P2 → P3
Re-triaging per https://bugzilla.mozilla.org/show_bug.cgi?id=1473195

Needinfo :susheel if you think this bug should be re-triaged.
Priority: P3 → P5
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.