Image Node not rendering on Firefox
See original GitHub issueHi,
Using the latest version of VideoContext and this snippet of code, it looks to me that image rendering is broken on VC.
const canvas = document.getElementById("canvas");
const button = document.getElementById("button");
const vc = new VideoContext(canvas);
const in1 = vc.image("image.png", 0);
in1.start(0);
in1.end(10);
in1.connect(vc.destination);
This works on Chrome 72 on MacOS and other vendors. However this does fail on Firefox 65 and Firefox Nightly.
Reported warning in the console is
Error: WebGL warning: texImage2D: Alpha-premult and y-flip are deprecated for non-DOM-Element uploads.
It can be traced back to this Bugzilla issue https://bugzilla.mozilla.org/show_bug.cgi?id=1400077
I will probably look into that in the next couple of days
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Firefox not rendering or displaying graphics correctly, tried ...
Firefox not rendering or displaying graphics correctly... When a page first loads up, fine but if you hit some buttons, then the back...
Read more >html d3.js, image renders in firefox but not in chrome
I have an html and json file running a D3 graphic that runs in firefox but does not run in chrome. The error...
Read more >Web: Image not visible in Mozilla Firefox · Issue #63828 - GitHub
When inspecting the elements in Firefox, you can find the image by searching for svg. If you set the height of the found...
Read more >html-to-image - npm
Generates an image from a DOM node using HTML5 canvas and SVG. ... All the top level functions accept DOM node and rendering...
Read more >Sorting out Problems with Transparency - Mozilla Hubs
Color images (on a computer–not print, that's a different topic, ... I'm going to use Blender to render out an image of the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I looked a bit more into this issue. It is definitely an issue around
createImageBitmap
. I suspect a regression on the Firefox JS VM.I created an issue on Bugzilla https://bugzilla.mozilla.org/show_bug.cgi?id=1533680
Still awaiting fix from Firefox upstream