pass in a raw pixelBuffer to the open command

Referencing my previous pull request #84 - but now on the 0.0.6 branch
This condition can be dropped. The next two ones are sufficient.