Difference between revisions of "File formats/Compressed"

From Jmol
Jump to navigation Jump to search
(Created page with "Jmol can read and write (export) a number of compressed file (collection) formats. Two of these are particularly useful. JMOL JMOL files, typically with a .jmol extension, are ...")
 
Line 1: Line 1:
 
Jmol can read and write (export) a number of compressed file (collection) formats. Two of these are particularly useful.
 
Jmol can read and write (export) a number of compressed file (collection) formats. Two of these are particularly useful.
  
JMOL
+
==JMOL==
  
 
JMOL files, typically with a .jmol extension, are a compressed Zip format containing the structure data file, script file containing the state together with any other necessary files.
 
JMOL files, typically with a .jmol extension, are a compressed Zip format containing the structure data file, script file containing the state together with any other necessary files.
Line 13: Line 13:
 
write JMOL "fileName"
 
write JMOL "fileName"
  
PNGJ
+
==PNGJ==
  
 
PNGJ files, typically with a .png extension, are a ZIP extension of the PNG image format containing, in addition to a snapshot image, the structure data file, script file containing the state together with any other necessary files. Similar to JMOL format but also including a snapshot image.
 
PNGJ files, typically with a .png extension, are a ZIP extension of the PNG image format containing, in addition to a snapshot image, the structure data file, script file containing the state together with any other necessary files. Similar to JMOL format but also including a snapshot image.
  
 
The PNGJ format is particularly convenient in that most operating system and web application file systems will display the png snapshot image as, for example, a thumbnail as an email or forum attachment. Jmol itself can use the PNGJ format to load a cover image prior to loading the interactive structure.
 
The PNGJ format is particularly convenient in that most operating system and web application file systems will display the png snapshot image as, for example, a thumbnail as an email or forum attachment. Jmol itself can use the PNGJ format to load a cover image prior to loading the interactive structure.

Revision as of 16:05, 12 October 2015

Jmol can read and write (export) a number of compressed file (collection) formats. Two of these are particularly useful.

JMOL

JMOL files, typically with a .jmol extension, are a compressed Zip format containing the structure data file, script file containing the state together with any other necessary files.

They can be be saved from Jmol using:

write ZIPALL "fileName"

or

write JMOL "fileName"

PNGJ

PNGJ files, typically with a .png extension, are a ZIP extension of the PNG image format containing, in addition to a snapshot image, the structure data file, script file containing the state together with any other necessary files. Similar to JMOL format but also including a snapshot image.

The PNGJ format is particularly convenient in that most operating system and web application file systems will display the png snapshot image as, for example, a thumbnail as an email or forum attachment. Jmol itself can use the PNGJ format to load a cover image prior to loading the interactive structure.

Contributors

Rowland.geoff