Exporting a diagram to an image: the image is cropped
See original GitHub issueUsing Dbeaver 5.0.0 Community edition, on Windows 10. When I export a Diagram that is bigger than a single screen, the image is cropped. It’s the same with png
, gif
and bmp
.
Is that a known issue?
Thanks a lot!
Issue Analytics
- State:
- Created 6 years ago
- Comments:18 (6 by maintainers)
Top Results From Across the Web
Diagram image export - No Magic Documentation
Specify the maximum image width (in pixels) for diagram export. If the width limit is exceeded, the exported diagram is cropped, or the...
Read more >Exporting a Diagram to an Image - RAD Studio
Right-click inside the diagram to export and select Export to Image on the context menu. · Select File > Export to Image on...
Read more >Exported image doesn't show the whole diagram – Lucidchart
Hi,. I'm having trouble with exporting my chart. Whenever I export the chart, it doesn't show the whole diagram. It only shows half...
Read more >Crop the PDF export to the diagram size
Crop the PDF export to the diagram size · Click File > Export As > Advanced. · Select PDF from the Format drop-down...
Read more >Exported PNG image is cropped - dbdiagram Community
I loaded the sample diagram and then exported the image as PNG. I then dropped the PNG file into my browser (Chrome) and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Having the same issue with 6.0.4. To get around the cropping you need to make sure your ERD boxes are aligned against the left and top edges of the ERD space.
Sounds like the bug is that it calculates the dimensions of just the ERD (without any spacing you may have put between the ERD and the left and top edges), renders a PNG with those spacing-less dimensions but doesn’t realign the ERD in the PNG space to the left and top edges resulting in parts of the ERD getting cropped off along the right and bottom edges.
@dgilman’s solution worked for me. Thanks.