Hello Thad Humphries,

How to use this folder please let me know the steps to use this folder in 
GWT

On Sunday, 18 March 2012 00:53:46 UTC+5:30, Thad Humphries wrote:
>
> I've used this Base64 class for both images and URL-safe encoding:  
> http://iharder.net/base64
>
> It is in the public domain.
>
> On Friday, March 16, 2012 5:41:28 AM UTC-4, Amruta Deshpande wrote:
>>
>> I have a image in form of byte array on my server. I m encoding it 
>> with base64 as follows 
>>
>>     byte[] bytes = bos.toByteArray(); 
>>     String base64 = 
>> com.google.gwt.user.server.Base64Utils.toBase64(bytes); 
>>     base64 = "data:image/jpg;base64,"+base64; 
>>
>> I am using GWT on client side. I want to display this image and trying 
>> to build image object follws: 
>>
>>     public void setInput(DataSource input) { 
>>         Image image = new Image(myUser.getImg()); 
>>         this.setWidget(i, 4, image); 
>>     } 
>>
>> but this is not working... can somebody help me?
>
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to