User e9b312fb05
20-09-2005 12:15:59
Hi,
can someone help me on how to save images from msketch using a server side CGI written in perl.
For now I can submit a molfile using
function submitstructure()
{
var s = document.MSketch.getMol(\"mol\");
s = unix2local(s);
document.structure.molfile.value = s;
}
together with a hidden input that is posted to my CGI that reads the value.
I'd like to do the same with an image. Can I fill a hidden input tag with the image information and save it as an image file?
Any ideas are gladly appreciated! :-)
Paul
P.S.: I can't use molconvert on the server side as it fails to run java. :-(
can someone help me on how to save images from msketch using a server side CGI written in perl.
For now I can submit a molfile using
function submitstructure()
{
var s = document.MSketch.getMol(\"mol\");
s = unix2local(s);
document.structure.molfile.value = s;
}
together with a hidden input that is posted to my CGI that reads the value.
I'd like to do the same with an image. Can I fill a hidden input tag with the image information and save it as an image file?
Any ideas are gladly appreciated! :-)
Paul
P.S.: I can't use molconvert on the server side as it fails to run java. :-(