pass in a raw pixelBuffer to the open command

Referencing my previous pull request #84 - but now on the 0.0.6 branch
The above chunk can be made more concise:

```Javascript
var numChannels = bufferSize / channelSize;
if (numChannels !== 3 || numChannels !== 4){ /* error */ }
```