Monday, December 26, 2011

Re: Creating image from base64

The OP didn't say anything about a specific browser; this is the only
solution I know of for client-side handling of base64 data using GWT.
I would suggest that you make an HTML element containing an "<img
src=.../>" that points to a servlet that will stream the decoded data
back to you.
On Dec 26, 12:11 am, vmnikulin <vmniku...@gmail.com> wrote:
> Mark, your method doesn't work in IE8 because it has 32KB limitation
> on data url size.
>
> On 26 ÄÅË, 07:19, Mark <mdshol...@gmail.com> wrote:
>
>
>
>
>
>
>
> > If you just want to display the image then just use what you have and
> > let the browser do the rest. šAdd an HTML object containing
>
> > <img src="data:<mime-type>;base64,<your base64 data>" width="X"
> > height="Y" alt="alternate text"/>
>
> > As shown here: šhttp://www.websiteoptimization.com/speed/tweak/inline-images/
>
> > On Dec 25, 6:46šam, vmnikulin <vmniku...@gmail.com> wrote:
>
> > > Hi all!
>
> > > How I can create Image from base64 string?
>
> > > Thank in advance.- óËÒÙÔØ ÃÉÔÉÒÕÅÍÙÊ ÔÅËÓÔ -
>
> > - ðÏËÁÚÁÔØ ÃÉÔÉÒÕÅÍÙÊ ÔÅËÓÔ -

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate