Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • Hi, thanks for this answer. So, image.data would be my byte array? Also, by enumerating through will it not incur a delay in displaying an image? I am wanting to refresh the image as quick as possible you see. I will test this though 1st - thank you Commented Apr 13, 2014 at 16:27
  • @AndrewSimpson: In the simplest case, you would acquire image.data from the existing canvas as I have done here. You can then copy your byte array based on the example indexing that I have shown (replace my arbitrary changes with something that copies pixels from your byte array). I don't know about the speed -- it will probably be browser dependent. Commented Apr 13, 2014 at 16:34
  • HI, this is all very informative and thanks for it. Will be testing it ASAP and will post back - thanks Commented Apr 13, 2014 at 16:36