Skip to content

2.8 Graphic formats and image size

Multiwfn supports a lot of mainstream graphic formats, including:

  1. Postscript (ps)

  2. Encapsulated postscript (eps)

  3. Portable document format (pdf)

  4. Windows metafile format (wmf)

  5. Graphics interchange format (gif)

  6. TIFF (tiff)

  7. Portable network graphics (png)

  8. Windows bitmap format (bmp)

  9. Scalable vector graphics (svg)

The graphic format of the picture exported by Multiwfn is controlled by “graphformat” parameter in settings.ini, you can set this parameter to the texts in the parentheses listed above, the default format is “png”.

For curve maps, the height and weight of the image file are controlled by “graph1Dsize” parameter in settings.ini. “graph2Dsize” is responsible for two-dimension data plotting (color-filled map, contour map, relief map, etc.). “graph3Dsize“ is responsible for three-dimension data plotting (isosurface graph, molecular structure graph, etc.).

Tip 1: If the graph is mainly composed of lines, e.g. contour line map and curve map, the best formats are pdf and svg. However, if you need to embed the resulting graph to Office, commonly wmf format should be used.

Tip 2: If you want to make background of exported image file transparent, please look this video illustration: https://youtu.be/E7lAGac3aDM.