Yes, Firefox supports canvas. Unfortunately IE does not... but I found this - http://ajaxian.com/archives/canvas-in-ie. I have not tried this so do not know whether it will work for you. Won't hurt to try though. :) On Tue, Oct 21, 2008 at 12:14 AM, whitewaterbug <[EMAIL PROTECTED]>wrote:
> Canvas sounds like it might do the trick. Is canvas supported on IE and > firefox? > > I looked into dataurl and the other limitation is also the size of the > image must be small, which doesn't work for my purposes either. > > > > > On Mon, Oct 20, 2008 at 11:55 AM, Ca-Phun Ung <[EMAIL PROTECTED]> wrote: > >> On Mon, Oct 20, 2008 at 6:19 AM, whitewaterbug <[EMAIL PROTECTED]>wrote: >> >>> >>> I believe this would require a 2nd download of the image so that it is >>> within the applet. I am trying to get the actual image data into the >>> applet through javascript to applet communication or having the applet >>> access the DOM directly. >> >> >> I see, you might want to look into image "data: URL". Basically you could >> use a backend script, such as PHP, to convert your image into base64 data >> and insert that directly into HTML. Another method would be to use <canvas> >> - insert the image into a canvas element, convert to base64 and extract as a >> string. >> >> >>> >>> Since the image data is downloaded as the HTML is being parsed by the >>> browser...I am not sure if I can get at the image data. >> >> >> You will not have this problem if you use a data url because the image >> data is injected directly into HTML. >> >> A downer is I don't think IE6 and 7 support data URLs. >> >> >> -- >> Ca-Phun Ung >> + http://yelotofu.com >> + css, django, hongkong, html, javascript, php >> > > -- Ca-Phun Ung + http://yelotofu.com + css, django, hongkong, html, javascript, php