question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exporting a diagram to an image: the image is cropped

See original GitHub issue

Using 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:closed
  • Created 6 years ago
  • Comments:18 (6 by maintainers)

github_iconTop GitHub Comments

9reactions
dgilmancommented, May 7, 2019

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.

3reactions
audiBookningcommented, Aug 17, 2019

make sure your ERD boxes are aligned against the left and top edges of the ERD space

@dgilman’s solution worked for me. Thanks.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found