Pass callback to base64