Convert image from base64