[Webkit-unassigned] [Bug 50905] [chromium] Simplify the PNG encoder.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 15 00:36:29 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=50905





--- Comment #3 from noel gordon <noel.gordon at gmail.com>  2010-12-15 00:36:28 PST ---
(In reply to comment #2)

> > WebCore/platform/image-encoders/skia/PNGImageEncoder.cpp:78
> > +    png_set_IHDR(png, info, imageSize.width(), imageSize.height(),
> > +                 8, PNG_COLOR_TYPE_RGB_ALPHA, 0, 0, 0);
> 
> Why is this change OK?

The 0, 0, 0 I assume?  That selects the default (aka basic) encoder.  All libpngs must support
the basic encoder, the (0) values won't ever change.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list