added base64 uri output support