Try something like:

<form action=""><script>jmolButton("write image.png", "Create
image");</script>


2011/9/2 Osvaldo Martin <[email protected]>

> Hello everybody,
>
>
> I like to add a button to save an snapshot as a .png or .jpeg file, I tried
> a couple of ideas but i failed.
>
> In the jmol console I tried the command "write image name.png" or "write
> image name.jpg" or "write image" and I get JPEG64. I guess that and
> "image-object", that I could save to a file... but I don´t know how.
>
> I am using the signed jmol applet for a web server. In the pop-up menu I
> have the "File" option and I have activated the options so "save file",
> "script state" and "script history" and "reload" all other option are grey.
>
>
> thanks in advance.
>
>
> ------------------------------------------------------------------------------
> Special Offer -- Download ArcSight Logger for FREE!
> Finally, a world-class log management solution at an even better
> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
> download Logger. Secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsisghtdev2dev
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to