imageprocessing.js
imageprocessing.js copied to clipboard
use Uint32 when possible
- "Retrieving a canvas’ image data will now return a Uint8ClampedArray instead of a CanvasPixelArray object."
- http://peter.sh/2012/05/sub-pixel-layout-inspecting-web-socket-frames-and-seamless-iframes/
- http://jsperf.com/canvas-pixel-manipulation/6
- this gives like 2 more perf