I tried this code to decode base64 image to binary; the thing I want to get image of the byte array on client... I am not pretty sure how to create image of byte array on gwt client so I need your help
Any useful comment is appreciated
I tried this code to decode base64 image to binary; the thing I want to get image of the byte array on client... I am not pretty sure how to create image of byte array on gwt client so I need your help
Any useful comment is appreciated
I would suggest using inline-images, for example:
data:[<mediatype>][;base64],<data>
<img src="data:<mime-type>;base64,<yourBase64Data>" width="16" height="16"/>
However according to the RFC, there are size limitations for inline images. Browsers are only required to support URLs up to 1,024 bytes in length. IE 5-7 does not support Inline images.
In IE8 or later version of IE data protocol is supported: msdn:Data Protocol