Quantcast
Channel: Why is putImageData so slow? - Stack Overflow
Browsing all 5 articles
Browse latest View live

Answer by Timmmm for Why is putImageData so slow?

This is presumably because modern browsers use hardware acceleration for <canvas> elements, and getImageData()/putImageData() require transferring image data from the graphics card to the host or...

View Article


Answer by Daniel Baulig for Why is putImageData so slow?

Just a small update on what the best way is to do this. I actually wrote my Bachelor Thesis on High Performance ECMAScript and HTML5 Canvas (pdf, German; password: stackoverflow), so I gathered some...

View Article


Answer by Corey Trager for Why is putImageData so slow?

In Firefox 3.6.8 I was able to workaround the slowness of putImageData by using toDataUrl/drawImage instead. For me it's working fast enough that I can call it within handling a mousemove event:To...

View Article

Answer by andrewmu for Why is putImageData so slow?

Firstly you say you are measuring with Firebug. I actually find that Firebug slows down JS execution considerably, so you may not be getting good numbers for performance.As for putImageData, I suspect...

View Article

Why is putImageData so slow?

I am working with a relatively large Canvas where various (complex) stuff is drawn to. I then want to save the Canvas' state, so I can quickly reset it to the state it now is at a later point. I use...

View Article

Browsing all 5 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>