Closed Bug 745202 Opened 8 years ago Closed 8 years ago
.5 .10 check for invalid palette index is ignored .
Libpng-1.5.10 adds a new function to check the palette-index for valid range. Currently we simply display such pixels as black, which is harmless. The libpng-1.5.0 feature only issues a warning, and we ignore warnings if PR_LOGGING is not defined. For speed, we should avoid this new check which involves another pass over each row of pixels. The embedded libpng will skip the check, but the system library does not. Libpng-1.5.10 provides a "png_set_check_for_invalid_index()" function that can be used to avoid the check.
Assignee: nobody → glennrp+bmo
Status: NEW → ASSIGNED
offers a small performance improvement when using a system libpng 1.5.10 and later.
Attachment #614792 - Flags: review?(joe) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/bd616252640b Sorry for losing track of this one...
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
You need to log in before you can comment on or make changes to this bug.