Closed
Bug 377554
Opened 17 years ago
Closed 17 years ago
Reduce download size by compressing PNG images
Categories
(Calendar :: General, enhancement)
Calendar
General
Tracking
(Not tracked)
VERIFIED
FIXED
0.7
People
(Reporter: ssitter, Assigned: ssitter)
Details
Attachments
(1 file, 1 obsolete file)
Reduce download size by compressing PNG images A quick test by myself showed that the win32 Lightning xpi download size can be reduced by almost 50 kilobyte by re-compressing the PNG images using a PNG compression program like pngcrush or OptiPNG. According to lilmatt this was already done back in 2004 for the images. The savings I measured are mostly caused by compressing the PNG images that were added for the prototype event dialog.
Assignee | ||
Comment 1•17 years ago
|
||
The following files have been compressed using OptiPNG 0.5.5 with option -o7: mozilla/calendar/prototypes/themes/pinstripe/*.png mozilla/calendar/prototypes/themes/winstripe/*.png mozilla/calendar/base/themes/common/*.png lightning.xpi size before compression 1.085.440 Bytes lightning.xpi size after compression 1.013.945 Bytes
Attachment #261598 -
Flags: first-review?(michael.buettner)
Attachment #261598 -
Flags: first-review?(michael.buettner) → review?(michael.buettner)
Comment 2•17 years ago
|
||
Comment on attachment 261598 [details]
zip archive with re-compressed PNG files
r=mickey
Attachment #261598 -
Flags: review?(michael.buettner) → review+
Assignee | ||
Updated•17 years ago
|
Whiteboard: [checkin needed after 0.5]
Comment 3•17 years ago
|
||
Updated images checked in.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•17 years ago
|
Whiteboard: [checkin needed after 0.5]
Target Milestone: --- → 0.7
Comment 4•17 years ago
|
||
Using a combination of brute force methods via PNGGauntlet and PNGOut here's a .zip archive that offers an additional 8% decrease in file size.
Attachment #271020 -
Flags: review?
Updated•17 years ago
|
Attachment #271020 -
Flags: review? → review?(michael.buettner)
Comment 5•17 years ago
|
||
More stats: Stefan's uncompressed archive size: 288,120 bytes My uncompressed archive size: 265,074 bytes Saving 23,046 bytes, or 8%.
Comment 6•17 years ago
|
||
Mickey, you are the reviewer. :) Do we want further size reduction of PNG images?
Version: Trunk → unspecified
Comment 7•17 years ago
|
||
Comment on attachment 271020 [details]
zip archive with (even-better) compressed PNG files
I went through the images and took some random samples. Since I couldn't find any difference in image quality -> r=mickey.
It's probably a good idea to document which tool with which parameters has been used to compress the images, since they will most probably change in the future.
Attachment #271020 -
Flags: review?(michael.buettner) → review+
Comment 8•17 years ago
|
||
Christian, which of these compressed images do you want to take? I'd just take the smaller one, but the final choice is up to you.
Comment 9•17 years ago
|
||
Hey people, I just used PNGGauntlet available at http://brh.numbera.com/software/pnggauntlet/ And overwrote the old PNGOut file provided with the latest version. Then I enabled the "Brute Force" option in PNGGauntlet and out came the "slightly better" compressed files. Hope this helps.
Comment 10•17 years ago
|
||
Cc'ing Christian to answer comment#8.
Comment 11•17 years ago
|
||
don't think this can make 0.7, maybe 0.8 instead.
Assignee | ||
Comment 12•17 years ago
|
||
This bug is already resolved as fixed for 0.7. If there is more work to be done this bug should be reopened or a new bug should be filed.
Comment 13•17 years ago
|
||
Comment on attachment 271020 [details]
zip archive with (even-better) compressed PNG files
Marking obsolete. The bug is already closed and these images got never checked in.
Attachment #271020 -
Attachment is obsolete: true
Updated•17 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•