Skip to content

Feature Request: Export all pages as separate PNG files #2436

Description

@EngenMe

Problem

When a diagram has multiple pages, exporting as PNG only exports one page at a time.
For large ERDs or architecture diagrams, this is tedious.

Additionally, exporting a large single-canvas diagram produces blurry,
unreadable PNGs — even at higher scale values.

Expected Behaviour

  • File > Export As > PNG should include an "Export all pages" option
  • Each page saves as filename-page-1.png, filename-page-2.png, etc.
  • CLI should support --all-pages for PNG (currently PDF-only)

Why This Already Makes Sense

The CLI already supports --all-pages for PDF:
drawio --export --format pdf --all-pages myfile.drawio
The same should work for PNG — the loop mechanism already exists.

Workaround I'm Currently Using

I had to write a Python script to split the canvas and loop the CLI manually.
Happy to share it if useful.

Environment

  • draw.io Desktop 28.2.5
  • Linux Ubuntu 24

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions