Attempting to create a getBinary for Image