More functionality implemented. Can read in binary data of image.