Setting png to binary