Bob, Well, I'm not sure... In the demo web page I sent earlier I assign the base64-encoded Jmol image, to a image element in the same page: var jmlImgB64 = jmolGetPropertyAsString('image'); document.getElementById("jmlImage").innerHTML = '<img width="'+imgWd+'" height="'+imgHt+'" src="data:image/jpeg;base64,' + jmlImgB64 + '">';
I'm wondering if Jmol could deliver a non-base64 encoded image (e.g., jpg) that could be assigned to a image element in a similar way? (and therefore eliminate the need for php decoding!) Steve >The feature just doesn't exist for browsers. You can set a JavaScript >variable to any memory-constrained length, but you are asking for something >different, I think. > >Bob > > > > Would a feature like "testimg.src=jmolGetImage ("jpeg")" involve > > > similar contraints? > > > 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 Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users