Bob, the problem with saving images or whatever is that Java applets are not 
allowed to 
access the user's disk. That's why the signed applet exists, and can do it, as 
Paul has said.


> - using the signed applet, you can send the script 
> save IMAGE PNG "filepath/imagename.png"

And apart from that script method (in the console or programmed in the web 
page), the 
signed applet has an entry in the popup menu that allows easily to choose 
target folder and 
filename. (It's called Save in older versions, File in the newer ones)


> - with the unsigned applet, use the getproperty method which sends a base64 
> jpg string, from which you can make a regular file using a remote server

There's a demo for this at
http://biomodel.uah.es/Jmol/export-image/


As for suggestion (1), the calculation of position of H atoms is not trivial. 
This has been 
discussed before in the users list.





------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to