So there is are a lot of examples on how to write an entire pixel from a Uint32Array view of the ImageData object. But is it possible to read an entire pixel without in
figured it out, i need to pass the buffer itself into the Uint32Array constructor, not another BufferView.
var buf32 = new Uint32Array(imgd.data.buffer);
console.log(buf32.length) // 64 yay!
the buffer length is increased four times because of the retina display, you have to write pixelDensity(1);
to avoid this