> What is the quickest way to convert a MOL file into a GIF or JPEG when > using JMol?
>From within the Jmol application you can generate images: File -> Export -> Export Image It supports a number of formats. The image that is exported is exactly what is on the screen. NOTE! If you want higher-quality images, export to PovRay and use PovRay to generate your final images. > Will it work OK on a headless environment, i.e. JDK 1.4.2 > launched with -Djava.awt.headless=true ? Interesting question. Frankly, I do not have any experience with headless and do not know what the AWT's behavior is regarding 'paint' calls. The fundamental issue is that Jmol needs a java.awt.Component object and a java.awt.Graphics object. What is the behavior of these things when you are headless? Now that I am writing this, it occurs to me that it would be very easy for you to do this ... assuming that you can write a little Java code. 1) Check out the cvs source code tree using anonymous checkout. 2) Look at samples/integration.java 3) modify this code to allocate a java.awt.image.BufferedImage that is the size of the image you want. 4) call BufferedImage.createGraphics() If you can follow this basic outline then it will work. Miguel ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Jmol-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jmol-users