确定图像表示的类型 - 插入<img src=".."/> [Angular2]

时间:2017-04-25 10:37:01

标签: html5 soap base64 angular2-template bitmapimage

在我的SOAP响应中,我得到一个以下标记:

def details(username)
  response = HTTParty.get("https://api.github.com/users/#{username}/repos")
end

这是我在Angular2应用程序中绘制相应图像所需的数据。

这是一个Bitmap或一个字节字符串,但肯定不是base64编码的字符串。

我尝试追加<a:Base64Bitmap>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP//AAAAAAAAAAAAAAAA8P8PAAAAAAAAAAAAAACAOYABAAAAAAAAAAAAAACYAxgAAAAAAAAAAAAAAIB9gAEAAAAAAAAAAAAAANgHGAAAAAAAAAAAAAAAwHwAAwAAAAAAAAAAAAAAzAcwAAAAAAAAAAAAAADAOAADAAAAAAAAAAAAAACMAzAAAAAAAAAAAAAAAGD+AAYAAAAAAAAAAAAAAOYPYAAAAAAAAAAAAAAA4P//BwAAAAAAAAAAAAAA/v9/AAAAAAAAAAAAAADg//8HAAAAAAAAAAAAAAD+/38AAAAAAAAAAAAAAOD//wcAAAAAAAAAAAAAAP7/fwAAAAAAAAAAAAAA4P//BwAAAAAAAAAAAAAA/v9/AAAAAAAAAAAAAADg//8HAAAAAAAAAAAAAAD+/38AAAAAAAAAAAAAAIAH4AEAAAAAAAAAAAAAAHgAHgAAAAAAAAAAAAAAgAfgAQAAAAAAAAAAAAAAeAAeAAAAAAAAAAAAAACAB+ABAAAAAAAAAAAAAAB4AB4AAAAAAAAAAAAAAAADwAAAAAAAAAAAAAAAADAADAAAAAAAAAAAAAAA/oP/AAAAAAAAAAAAAADgP/gPAAAAAAAAAAAAAAD/wX8AAAAAAAAAAAAAAPAf/AcAAAAAAAAAAAAAAAfAAQAAAAAAAAAAAAAAcAAcAAAAAAAAAAAAAAAAD8ADAAAAAAAAAAAAAADwADwAAAAAAAAAAAAAAAD+gf8AAAAAAAAAAAAAAOAf+A8AAAAAAAAAAAAAAPgD/gEAAAAAAAAAAAAAgD/gHwAAAAAAAAAAAAAAgAPAAQAAAAAAAAAAAAAAOAAcAAAAAAAAAAAAAACAA8ABAAAAAAAAAAAAAAA4ABwAAAAAAAAAAAAAAMAB4AAAAAAAAAAAAAAAABwADgAAAAAAAAAAAAAA4ABwAAAAAAAAAAAAAAAADgAHAAAAAAAAAAAAAABwADgAAAAAAAAAAAAAAAAHgAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA</a:Base64Bitmap> ,但什么都没发生。

我不确定这是否是一个损坏的字符串,但现有的应用程序使用此响应很好。这是API的响应。有人可以指导我吗?

0 个答案:

没有答案