[Webkit-unassigned] [Bug 156129] New: toDataURL image upside down if premultipliedAlpha=false

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 1 22:07:18 PDT 2016


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

            Bug ID: 156129
           Summary: toDataURL image upside down if
                    premultipliedAlpha=false
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebGL
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: nkronlage at hotmail.com
                CC: dino at apple.com

Calling .toDataURL() on a WebGL canvas that has premultipliedAlpha set to false results in an image that upside down.

See https://jsfiddle.net/oagpgo80/ for an example.  It renders a triangle in a canvas (left) and calls toDataURL and puts the result in an <img> on the right.

Expected: 
Two triangles that look the same

Actual:
The right triangle (the image created from toDataURL) is upside down.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160402/ca2586c5/attachment-0001.html>


More information about the webkit-unassigned mailing list