Bob,
I've played around with "jmolGetPropertyAsJavaObject("image")". Is it
possible that this function is actually returning a base64 encoded
string instead of JPEG code?
I find that these two statements yield identical results:
var x = jmolGetPropertyAsJavaObject("image")
or
var x = jmolGetPropertyAsString("image")
In FF, in either case, x will yield the image when assigned to an
<img> such as
src= "data:image/jpeg;base64,'+ x + '".
The "data:image/jpeg;base64" is required for both.
Steve
Dr. Steven R. Spilatro
Department of Biology and Environmental Science
Marietta College
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users