Extra bottom line when exporting/importing jpeg images to documents

100 views
Skip to first unread message

Michael Lipton

unread,
Apr 2, 2023, 1:24:02 PM4/2/23
to diagrams.net Q&A
So just in the last few days I've been experiencing an issue where if i export some of my drawings as a jpeg file and then import that jpeg file to a word doc, I get this extra line at the bottom of my drawing.

Attached is an example from a test (non-real) drawing I made. As you can see there is an extra line at the bottom.

Does anyone know how I can disable or remove that?


Capture.JPG

diagrams.net Q&A

unread,
Apr 2, 2023, 4:53:34 PM4/2/23
to diagrams.net Q&A
I cannot repeat this. Could you provide exact steps and environment?

Michael Lipton

unread,
Apr 2, 2023, 6:07:20 PM4/2/23
to diagrams.net Q&A
Steps to Reproduce:
-select all the elements that you would like to export as a jpeg
-select Export As -> JPEG
-enable "Selection Only" checkbox and click "Export"
-select "Device" to download to local computer
-navigate to word document and select Insert -> Pictures -> This Device
-select the jpeg file previously downloaded

I have also included a drawio file which can reproduce it
test.drawio

Michael Lipton

unread,
Apr 2, 2023, 6:09:13 PM4/2/23
to diagrams.net Q&A
I am working in app.diagrams.net and the version is 21.1.2

diagrams.net Q&A

unread,
Apr 3, 2023, 12:32:33 AM4/3/23
to diagrams.net Q&A
We're unable to reproduce this using the steps above and the file attached. Does the exported file have the line or does it appear only when inserted into Word?

Michael Lipton

unread,
Apr 3, 2023, 12:55:04 AM4/3/23
to diagrams.net Q&A
Only appears when inserted into Word

Steven Auerbach

unread,
Apr 3, 2023, 7:45:38 PM4/3/23
to diagrams.net Q&A
I have tested this by following the prescribed steps, then importing the jpeg into Word/Office 365/Mac. No extra lines appear.

diagrams.net Q&A

unread,
Apr 4, 2023, 3:28:50 AM4/4/23
to diagrams.net Q&A
If the stand-alone jpeg doesn't have the extra line then this isn't an issue relating to draw.io
Reply all
Reply to author
Forward
0 new messages