Convert Image Bytes To Numpy Function