Fix image format to array of bytes. (#73)