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
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 > PNGshould include an "Export all pages" optionfilename-page-1.png,filename-page-2.png, etc.--all-pagesfor PNG (currently PDF-only)Why This Already Makes Sense
The CLI already supports
--all-pagesfor 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