Rolf Huehne wrote:
>      Hi,
>
>I think I found a solution to save images from the applet without the
>need of a server.
>The solution is supposed to work at least for most current non-'Internet
>Explorer' browsers.
>
>The idea is quite simple:
>
>1) the javascript Jmol interface requests an image from Jmol
>2) Jmol returns the image data to the interface
>3) the image is inserted as value into the HTML code of the page for a
>(predefined?) object
>4) the browser displays the image in the page
>5) the user saves the image using the "Save image..." dialog
>
>I have set up a little demonstration page that illustrates this technique:
>http://www.fli-leibniz.de/ImgLibPDB/pages/embedded_image_demo.html
>
>  
I expanded the demo page
"http://www.fli-leibniz.de/ImgLibPDB/pages/embedded_image_demo.html"; by
a button for testing the image replacement idea. If you press the "Copy
image" button a copy of the image should replace a tiny little image
below the button (a single white pixel).

To get this working I had to switch from the "OBJECT" tag I used for my
first page to an "IMG" tag, because I had trouble replacing the content
of the object tag.

Q: Bob, is it already possible with version 10.9.69 to retrieve an image
from the applet?  (If yes, how?)

Regards,
Rolf


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to