[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] 8-bit (indexed) PNG files

Gregg, if it works in 2D canvas then yes, it's a bug in WebGL's image-to-texture upload path. Not sure the spec needs to be modified since it doesn't enumerate the browser's supported image formats.

Could you please file a bug? Also, would it be possible for you to send a pull request for a WebGL conformance test?



On Sat, Apr 26, 2014 at 10:26 AM, Brandon Jones <bajones@google.com> wrote:
I don't see anything about 8-bit images in the spec, so I would assume that it's either a bug or a spec clarification that needs to be made.

On Fri, Apr 25, 2014 at 11:41 PM, Gregg Tavares <khronos@greggman.com> wrote:
I noticed an issue with indexed PNG files. Both Chrome and Firefox don't seem to handle transparency for indexed PNG files in WebGL whereas they do handle it for Canvas

It this a bug? Should I add a test?