more on image_to_numpy