Skip to content

Export a PNG

A PNG is a fixed-pixel image for documents, slides, and chat messages. The image matches the canvas. For a figure that you may resize or recolor later, export an SVG instead: a PNG enlarged past its export size looks soft or blocky.

To export a PNG, click File > Export PNG, set the scale and background, and click Export PNG.

The Export PNG dialog: filename, scope, dimensions with scale 2x (192 DPI) and the size, 214 × 125 px, which prints at 28.3 × 16.5 mm, background, padding, and a preview of the drawing.
The Export PNG dialog, with its preview.
  1. Select the structure, for example benzene. To export the whole canvas, select nothing.
  2. Click File > Export PNG.
  3. Under Scope, select Selection Only, or leave All Content.
  4. For a large, sharp image, set Scale to 4x. The pixel size appears next to Size:.
  5. If the slide is not white, select Include background and set the color to match the slide.
  6. Click Export PNG.
Option What it does Default
Filename The downloaded file’s name; .png is added. Filled in the same way as in Export an SVG.
Scope All Content or Selection Only (available only when something is selected). All Content
Scale 1x, 1.5x, 2x, 3x, 3.125x, 4x, 6x, 6.25x, 8x, or 10x. Each choice shows the DPI the file records at actual size: 3.125x is 300 DPI and 6.25x is 600 DPI, the resolutions most journals ask for. Higher scales give more pixels and larger files. 2x
Include background Fills behind the drawing with the color from the swatch or hex field. When cleared, the PNG is transparent. Off
Padding Margin in pixels around the drawing, 0 to 200. 20

The preview and the Size line update as you change options. The Size line gives the pixel dimensions, the printed size in millimeters, and the DPI, for example 354 × 387 px, prints at 30.0 × 32.8 mm at 300 DPI. A browser cannot draw an image wider or taller than 16,384 pixels, or larger than 120 million pixels in total. When the scale you pick would pass that limit, Molkit makes the largest image that fits, the size line says it was reduced, and a message reports the size you get. Copy as image follows the same limit. The dialog starts from your last PNG export, in any document and after a reload; the filename is not carried between documents.

A PNG also records its print size: one canvas pixel is 1/96 inch, the same size the PDF export uses, so a PNG at scale 2x is marked as 192 dots per inch (DPI), and the DPI is 96 times the scale. A word processor or a printer that reads this places the image at the drawing’s actual size, whatever the scale; a higher scale only adds detail.

Fonts used in the drawing are embedded before the image is made, so labels keep their typeface even on a machine that lacks the font.

To put an image on the clipboard instead of saving a file, press Ctrl+Shift+C or select Edit > Copy as Image. If something is selected, only the selection is copied; otherwise the whole canvas is. If only a bond, lone pair, or orbital is selected, a message asks you to select the atoms instead. A message confirms the copy, and you can paste the image into a word processor or chat.

The copied image always has a white background and a high pixel scale. It also carries its size, so Word and PowerPoint paste it at the drawing’s actual size, the same as an exported PNG or PDF. If the clipboard is not available and the image is downloaded instead, the file records its print size like an exported PNG. It ignores the background setting in the export dialog, so use Export PNG when you need transparency.

With the default black-and-white color scheme, a transparent PNG placed on a dark slide shows black bonds on a dark background. Select Include background, or recolor the drawing first.