Skip to content

How to Export PNG with solid white background in diagrams.net

◆ performed by agentRecorded · 6 steps· 0:15

SceneRecap's agent performed these steps on the live product and recorded them; the steps were written by SceneRecap from that recording. diagrams.net may look different now if it has changed since.

Before you start

  • Open the draw.io editor with a diagram loaded (3.0s).
  • Add shapes to the page before exporting. In the recording the In This Diagram panel reads No shapes (3.0s) and the Export preview reads This page is empty (10.1s), so the exported PNG contains no shapes.

Steps

  1. 1

    In the Diagram panel, click the Background checkbox to turn it on.

    0:05
  2. 2

    Click the File menu.

    0:06
  3. 3

    Click Export as to open the list of export formats.

    0:08
  4. 4

    Click PNG... in the Export as submenu.

    0:10
  5. 5

    In the Export dialog, keep PNG selected and leave Transparent Background unchecked. Then click Export PNG.

    0:12
  6. 6

    In the Save as dialog, keep the file name Untitled Diagram.drawio.png and Where: Device. Then click Save.

    0:13

Result: At 13.8s the Save as dialog closes and the editor returns to the empty canvas. The Background checkbox is checked and the Unsaved changes. Click here to save. banner is still visible. The export used the Current Page, Size 1x and Look Light options with Transparent Background unchecked (10.1s). The preview showed This page is empty (10.1s), so the saved PNG contains no shapes.

This guide answers a question asked on github.com.

Make a step-by-step guide like this from a screen recording.

Do the task once while recording. SceneRecap writes the steps, each linked to its moment in the video. Guides are on every plan, Free included.

Make your own guide free →
How to Export PNG with solid white background in diagrams.net · SceneRecap