Is there any way to capture a PNGJ file from JSmol as a variable in
javascript?

I can do this when exporting an x3d file, for instance, using:

var x3d = Jmol.evaluateVar(jmolApplet0,'write("X3D")');

I've tried various combinations like these, but they don't seem to work.

var x3d = Jmol.evaluateVar(jmolApplet0,'write("PNGJ")');

var x3d = Jmol.evaluateVar(jmolApplet0,'write("IMAGE PNGJ")');

Or will I have to save the file first and then set it to a variable.


Thanks

Chris
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to