Estoy realmente atascado en la conversión de una imagen PNG de Unicode (creo) a una URL de objeto. Estoy usando Vue js para convertirlo. Los datos son devueltos por una aplicación .NET usando
return new FileContentResult(ms.ToArray(), "image/png"); En mi aplicación frontend/cliente, puedo ver que recibo esta respuesta 
Pero ¿y ahora qué? :) Intenté muchas cosas, sin suerte. No estoy muy familiarizado con este tipo de conversión... Lo hice una vez y olvidé por completo cómo.
pd: Si uso Postman, la imagen se carga correctamente.
eso es lo que he intentado hasta ahora:
// for displaying IMGs <img :src="files.quickPreview_1" /> <img :src="files.quickPreview_2" /> // vue data data() { return { files: { quickPreview_1: null, quickPreview_2: null } }; }, // conversions var utf8 = unescape(encodeURIComponent(response.data)); var arr = []; for (var i = 0; i < utf8.length; i++) { arr.push(utf8.charCodeAt(i)); } // try 1 const blob1 = new Blob(arr, { type: response.headers["content-type"] }); this.files.quickPreview_1 = URL.createObjectURL(blob1); // try 2 const byteArray = new Uint8Array(arr); const blob2 = new Blob(byteArray, { type: response.headers["content-type"] }); this.files.quickPreview_2 = URL.createObjectURL(blob2);