Feature request: Expose method for querying pixel colour
First up wanted to say thanks for the library, xcap is great and this offshoot was just what I needed.
It would be useful to have a method exposed on Image to query a pixel colour. Currently we have to call getRaw and then parse the buffer into something that can be queried. This isn't ideal as JavaScript isn't the most perfomant at those sort of tasks and you also have to handle things like rgba Vs bgra and 3 Vs 4 channels etc. The alternative is calling toPng and passing it to some other native library such as sharp, this isn't ideal as it's an extra dependency and we have the cost of encoding and decoding the image again.
Given the underlying RGBAImage has the method getPixel ready to use this feels like something that could be exposed on the js API to do perfomant pixel lookups.