convert string to  binary with leading 0s, cant encode into image yet