You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree to follow the Code of Conduct that this project adheres to.
I have searched the issue tracker for a feature request that matches the one I want to file, without success.
Describe the bug
Exporting large diagrams where the document spans at least 2.5 pages in width and over 1 page in height to an image format such as PNG or JPG cause the diagrams to be cropped. This does not appear to be an issue with exporting to pdf with the --crop option enabled.
To Reproduce
Steps to reproduce the behaviour:
Create a diagram using the desktop app that is larger than 2.5 pages wide and 1 page tall (excluding padding around the outside
Save the diagram using an appropriate name
Run the following command in the CLI: <draw.io.exe> -x C:/path/to/diagram.drawio Test.png -f png
Check resultant PNG (Test.png) and notice it being cropped
Expected behaviour
The diagram should export fully - similar to what is done via the GUI interface.
Screenshots
The screenshots below show the types of input drawings and outputs used in the Steps to Reproduce section
Expected Image (generated via GUI):
Actual Image (generated via CLI):
Diagram in App:
Desktop (please complete the following information):
OS: Windows 11 version 10.0.22631 Build 22631
Draw.io desktop app version 24.7.17
Browser: N/A
Browser Version: N/A
I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:
N/A
Troubleshooting steps attempted
Uninstalling and reinstalling latest draw.io app
Attempting to try different image formats (ie. PNG and JPG)
Adding additional CLI options such as --crop, --all-pages, --zoom, and --quality despite these primarily being used for PDFs/not being relevant
The text was updated successfully, but these errors were encountered:
Preflight Checklist
Describe the bug
Exporting large diagrams where the document spans at least 2.5 pages in width and over 1 page in height to an image format such as PNG or JPG cause the diagrams to be cropped. This does not appear to be an issue with exporting to pdf with the
--crop
option enabled.To Reproduce
Steps to reproduce the behaviour:
<draw.io.exe> -x C:/path/to/diagram.drawio Test.png -f png
Expected behaviour
The diagram should export fully - similar to what is done via the GUI interface.
Screenshots
The screenshots below show the types of input drawings and outputs used in the Steps to Reproduce section
Expected Image (generated via GUI):
Actual Image (generated via CLI):
Diagram in App:
Desktop (please complete the following information):
I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:
Troubleshooting steps attempted
--crop
,--all-pages
,--zoom
, and--quality
despite these primarily being used for PDFs/not being relevantThe text was updated successfully, but these errors were encountered: