You can't get the image data directly, just as you can't get a
script's content. Would be nice being able to clone them, but
unfortunately that's currently impossible.

- ricardo

On Oct 19, 8:19 pm, 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.
>
> 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.
>
> I can push an image from applet to javascript and then into a hidden
> input field...but getting the image in the first place seems a bit
> challenging.
>
> On Oct 19, 9:48 am, "Ca-Phun Ung" <[EMAIL PROTECTED]> wrote:
>
> > <img id="myImage" src="logo.gif" />
>
> > To get the image current image location: $('#myImage').attr('src');
> > To update DOM with new image use: $('#myImage').attr('src', [new image
> > location]);
>
> > On Sun, Oct 19, 2008 at 3:30 PM, whitewaterbug <[EMAIL PROTECTED]>wrote:
>
> > > I am trying to pull the image displayed in the DOM into an applet that
> > > will do some image processing (e.g. blur), show the updated image back
> > > in the DOM, and then print.
>
> > > Is there a way in jquery to do this?
>
> > > I found in JSobject, I can get attributes of the image, but I couldn't
> > > see how to actually get the image into the applet.
>
> > > On the return route, I couldn't figure out how to get the applet to
> > > update the DOM with the new image.
>
> > > Any ideas?
>
> > --
> > Ca-Phun Ung
> > +http://yelotofu.com
> > + css, django, hongkong, html, javascript, php

Reply via email to