--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To post to this group, send email to chromium-...@chromium.org.
To unsubscribe from this group, send email to chromium-extens...@chromium.org.
For more options, visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/?hl=en.
On Sun, 23 Jan 2011 21:24:17 -0600, Amanda <mengdo...@hotmail.com>
wrote:
>
> Thanks a lot, PhistucK!
>
>> Chrome can display (base64 and others) data
>
> Could you tell me the Chrome method to display the data after getting
> the base64 string?
> Can I use javascript like img.src="data:image/png ...."?
Yeah, that should work. (would be img.src="data:image/png;base64,[...]" )
>
> And I also wonder why Chrome can not accept the original content of a
> image file?
It may be able to; I'm not familiar with npapi and how binary data might
be passed from the plug-in to the browser, or how and if javascript can
handle such data after receiving it.
>
> Many thanks!
>
>
--
Ben