added more flexible colorspace conversion method.
added method to get numpy array from frame, similar to pil.image from frame