Closed
Bug 256415
Opened 21 years ago
Closed 21 years ago
Download size can be reduced using pngcrush
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
VERIFIED
DUPLICATE
of bug 171082
People
(Reporter: nrm, Assigned: bugzilla)
References
()
Details
Just reporting an experiment with image size reduction
in Firefox. Note that these results don't take into
account cross-image constraints like global color palette
design or other niceties. It's brute force.
Using pngcrush(1) I experimented with optimising PNG files
supplied with the chrome of Firefox. I unpacked, crushed
and trial-recompressed the standard PNGs. pngcrush is available
in source and binary form on many platforms, including a win32
console mode app. It is a lossless optimiser for PNG.
Results:
37,682 bytes (or thereabouts) saved after compression, a 0.74%
total download reduction.
Method:
Run "pngcrush -rem alla -plte_len -brute -force -reduce old\a.png new\a.png"
on every PNG file from the browser.jar and classic.jar chrome
archives. Afterwards, use zip(1) or WinZip to zip up 'old' and 'new'
directories to get two compressed files for final size comparison,
result above.
Also, viewFader.png is stored twice in classic.jar under 0.9.3.
Ideally the crushed files would go into CVS as the new originals,
but perhaps there's some other constraints. At minimum, someone
should try a startup benchmark with crushed files before
committing anything. Hope this assists.
- N.
![]() |
Reporter | |
Comment 1•21 years ago
|
||
*** This bug has been marked as a duplicate of 171082 ***
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
![]() |
||
Updated•21 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•