Closed Bug 988869 Opened 7 years ago Closed 7 years ago

[Clock] Compress 2.25x image assets

Categories

(Firefox OS Graveyard :: Gaia::Clock, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
1.4 S4 (28mar)

People

(Reporter: mcav, Assigned: mcav)

References

Details

(Whiteboard: [p=1])

Per Bug 983075 comment 5:

--- Comment #5 from Gabriele Svelto [:gsvelto] <gsvelto@mozilla.com> 2014-03-27 03:39:51 PDT ---
Just a heads up on this bug. The new PNG assets that were committed here have
not been properly re-compressed before commit; doing so will yield significant
savings in terms of storage (~10x) so please do so in a follow up bug. You can
recompress the assets using the png_recompress.sh script available in gaia.
From gaia's root directory this command should do the job:

./tools/png_recompress.sh -v ./apps/clock/style/images/onring@2.25x.png \
                             ./apps/clock/style/images/alarm_off@2.25x.png \
                            
./apps/clock/style/images/attention_button_container@2.25x.png \
                            
./apps/clock/style/images/attention_overlay_icon@2.25x.png \
                             ./apps/clock/style/images/add_alarm@2.25x.png \
                             ./apps/clock/style/images/alarm_on@2.25x.png \
                            
./apps/clock/style/images/attention_background@2.25x.png \
                            
./apps/clock/style/picker/images/icons/checked@2.25x.png

To run the re-compression script you'll need the advancecomp and optipng 0.7.x
packages installed. If you need further help feel free to ping/needinfo me.
Assignee: nobody → m
Status: NEW → ASSIGNED
See Also: → 983075
Target Milestone: --- → 1.4 S4 (28mar)
Whiteboard: [p=3]
Assuming r=jrburke implied per bug 983075, as this includes exactly the same changes modulo file compression.

master: https://github.com/mozilla-b2g/gaia/commit/e26f0a87a68a41273f7bc1bb36cf90e9655155fb
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Whiteboard: [p=3] → [p=1]
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.