[Webkit-unassigned] [Bug 47477] New: WebGL shows PNG Textures with indexed colors too dark

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 10 15:15:32 PDT 2010


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

           Summary: WebGL shows PNG Textures with indexed colors too dark
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebGL
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: q3drbones at hotmail.com


Created an attachment (id=70415)
 --> (https://bugs.webkit.org/attachment.cgi?id=70415&action=review)
Test case for WebGL bug with indexed color PNG files

A problem with handling textures occurs when using PNG with indexed colors.
While true color PNG images work well, one gets significantly too dark results when using a PNG with indexed colors.
The PNG with indexed colors is a result of running optiPNG as an attempt to reduce the file size.
Both images look identically when opening in WebKit without the WebGL context.

I've attached a simple test case which is taken from
http://learningwebgl.com/blog/?p=507
only with modified textures.

The default case is using the 24bit true color PNG file.
By replacing a string from 24 to IDX, the texture with the indexed colors will be used.

-- 
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