locked
Is it possible to implement “Faster Canvas Pixel Manipulation with Typed Arrays” on metro application?

    Question

  • Is it possible to implement the article "Faster Canvas Pixel Manipulation with Typed Arrays" (https://hacks.mozilla.org/2011/12/faster-canvas-pixel-manipulation-with-typed-arrays/) on a metro style application using JavaScript?
    Friday, November 23, 2012 12:26 PM

Answers

  • So far as I know, the canvas' ImageData in IE10/Windows Store Apps in Win8 is a CanvasPixelArray which means that the technique in the article won't work at this time. If that's not accurate (I'm checking), I'll let you know.

    Definitely something I'm curious about myself; working with pixel arrays is something I go into in Chapter 16 of my book where I also try employing WinRT components for this purpose.

    Kraig

    Author, Programming Windows 8 Apps with HTML, CSS, and JavaScript, a free ebook from Microsoft Press



    Update: I did get a confirmation that it's CanvasPixelArray in Win8.
    Wednesday, November 28, 2012 1:07 AM