uri = "tmp:/images/" + someidentifier
ba = CreateObject("roByteArray")
ba.fromBase64String(yourbase64string)
ba.writeFile(uri)
poster.uri = uri
"ajitg_4557" wrote:
nO3Y32vVdRzH8VMU6CiqO/+EuggCV1CC+asg2JUQRoFFoAv0aGVL15iRM6i70EQhEGqbQtBNQyKSoMi0
cmO1jf07fdR5Ou7rOUfOGs+vL57wuPjyfX/PeJ5z3nx3zmk0Nu+X/n98gSLxBYrEFygSX6BIfIEi8QWK
xBcoEl+gSHyBIvEFisQXKBJfoEh8gSLxBYrEFygSX6BIfIEi8QWKxBcoEl+gSHyBIvEFisQXKBJfoEh8
gSLxBYrEFygSX6BIfIEi8QWKxBcoEl+gSHyBIvEFisQXKBJfoEh8gSLxBYrEFygSX6BIfIEi8QWKxBco
El+gSHyBIvEFisQXKBJfoEh8gSLxBYrEFygSX6BIfIEi8QWKxBcoEl+gSHyBIvEFisQXKBJfoEh8gSLx
BYrEFygSX6BIfIEi8QWKxBcoEl+gSHyBIvEFisQXKBJfoEh8gSLxBYrEFygSX6BIfIEi8QWKxBcoEl+g
SHyBIvEFisQXKBJfoEh8gSLxBYrEFygSX6BIfIEi8QWKxBcoEl9QW1sON175eMXOY40dR1dsH2kMDvN5
NccX1NPLY/9tVdWuUXerB76ghtrvVe5Wf/iCGmptz77zAx/NPHJout1Ac7IxNOFu9cAX1NDtxRoY/X7T
kelN70/e4cj0xubUyjXbRvjaeuILauj2Yj367oWySU++fqJdOVPuWyvXbP+Qr60nvqCGdo6uLNbhaRer
T3xBDe046mKtFV9QQy7W2vEFNeRirR1fUENlXW7uzcbm9M1vhVN3KN8KD/qtsBe+oIYGh2/8RlX2Zmhi
w4HJgeZUuw0HvmkMnfB3rB74gnpq7Za/vPeHL6itLrvlVvXEF9RZ2Z7yKap85Gq37QO3qje+QJH4AkXi
CxSJL1AkvkCR+AJF4gsUiS9QJL5AkfgCReILFIkvUCS+QJH4AkXiCxSJL1AkvkCR+AJF4gsUiS9QJL5A
kfgCReILFIkvUCS+QJH4AkXiCxSJL1AkvkCR+AJF4gsUiS9QJL5AkfgCReILFIkvUCS+QJH4AkXiCxSJ
L1AkvkCR+AJF4gsUiS9QJL5AkfgCReILFIkvUCS+QJH4AkXiCxSJL1AkvkCR+AJF4gsUiS9QJL5AkfgC
ReILFIkvUCS+QJH4AkXiCxSJL1AkvkCR+AJF4gsUiS9QJL5AkfgCReILFIkvUCS+QJH4AkXiCxSp+/jg
p+fXD//ktX66zMp7//V3P67TVt36y/zz1zrpMlvX+4o3rXBdZi6W+tdl5mKpf11mLpb6xxcoEl+gSJ0G
T+0e++HnK0U56OOa6qh6Zs/I6SvXrl/+9dpLw5/fe/Hi4iL/qqmnToMzUzPljX9t5PSXkzN9XFMdVc8c
P3XxiRcPvbB34uqfc/de/NCzw/yrpp46Dcq95PGtzfLGl4M+rqmOqmce2LyveGbP8UuXf1v18HJbGj91
8frc/BvHzpw8++1fs/NvjZ1tjfhXTT11GiwsLJZ7Q1EO+rimOrrrxUtLS3//s7DlzZOrHr68vLxr/2dP
vzpe1ujWwe9/zLZG/KumnjoNyhv52NZmucd0uWN1uaY6uuvFDz83XP4Vlo9Zqx5etufBwRu3tPaD1oh/
1dRTp8G5C5d2v/dFUQ76uKY6qp55e/xcWazn905U97K6Ri7WfabToHx3++mXq0X3b4Wrrml9AKqOqmfe
+eSr2bn5cqb8s1v1l12s+x5foEh8gSLxBUr0L7kzp6/i763xAAAAAElFTkSuQmCC
decoded string into image========>>>>>>?PNG
?
sub load_Map(json As Object)
json=parseJSON(json)
remove_n=json.MapFlightResult
r = CreateObject("roRegex","\n", "i")
remove_new=r.ReplaceAll(remove_n,"")
print"remove After========>>>>"remove_new
ba1=CreateObject("roByteArray")
ba1.FromBase64String(remove_new)
img=ba1.ToAsciiString()
print"decoded string into image========>>>>>>"img
end sub