Closed Bug 170352 Opened 22 years ago Closed 22 years ago

Upgrade mozilla libpng to 1.2.5

Categories

(Core :: Graphics: ImageLib, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: tor, Assigned: tor)

References

()

Details

Attachments

(1 file, 3 obsolete files)

libpng 1.2.5 fixes numerous reported PNG problems.  I've been testing
with 1.2.5rc3 without problems so far.

Placeholder until 1.2.5 goes final.
Blocks: 169105
Blocks: 160453
Libpng version 1.2.5 is due out on 2 October 2002, barring any significant
bug reports against version 1.2.5rc3.

Glenn
Bug 169392 probably depends on this one too.
Blocks: 169392
Blocks: 159031
Libpng-1.2.5 is available for your downloading pleasure
from http://libpng.sf.net  ...Glenn
libpng-1.2.5 also works fine with mozilla, passes all the png test suites,
and appears to fix the various dependent bugs.
> disable write support

Good idea.    ...Glenn
> disable write support

hm, is that possible for the jpeg library mozilla is using as well?
I mentioned to tor that for Mac, the #define would go in:
  mozilla/build/mac/build_scripts/MozillaBuildFlags.txt
Attachment #101569 - Attachment is obsolete: true
>> disable write support

>hm, is that possible for the jpeg library

Doesn't seem so.  Neither for zlib.   ...Glenn
Attachment #101512 - Attachment is obsolete: true
Attachment #101601 - Attachment is obsolete: true
Bah - I was looking at the size of the intermediate libpng, not the resulting
libimglib2.  The linker is smart enough to throw away the unused write code.
Comment on attachment 101603 [details] [diff] [review]
bump MOZPNG in configure.in

r=cls
Attachment #101603 - Flags: review+
> linker is smart

Right.  There probably won't be much change in the size of the executable because
the read and write stuff is pretty well separated in libpng.  Compiling and
linking might be a little faster, and the png_struct and will be something like
48 bytes smaller so there will be some (perhaps negligible) savings in memory
resource usage per image.  You can entertain yourself by logging  
sizeof(png_struct) like we do in pngtest.

...Glenn
Checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
*** Bug 160453 has been marked as a duplicate of this bug. ***
*** Bug 169105 has been marked as a duplicate of this bug. ***
*** Bug 169392 has been marked as a duplicate of this bug. ***
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: