On 04/18/2011 04:31 PM, Greeves, Nick wrote:
> Hi All,
> I would like to create a 2D high resolution image from a Jmol applet view. I 
> see the export options are four image formats which look fine but are less 
> than the 300 dpi I am seeking. (Pov-ray crashes every time on Intel Macs) So 
> I wondered if exporting in 3D and them saving as 2D .tiff would be an option. 
> The trouble is I don't own software that can handle the 3D formats!
>
You could save the state and generate it with Jmol as application using 
the command-line with a command like this:

java -Xmx2048m -jar Jmol.jar -o -n -g 2000x2500 -q 9 -w PNG:high_res.png 
-s state_script_filename

This command should generate a 2000 x 2500 pixel image in PNG format.

The "-Xmx2048m" option increases the maximum memory used by the Java 
virtual machine to 2048 megabytes. Depending on the resolution, 
structure, available memory it might be necessary to adapt this value.

Before running the command you might need to set the current working 
directory to the directory where the "Jmol.jar" file is located.

Regards,
Rolf

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to