Open oliversalzburg opened 2 years ago
Confirm.
This happens only while using this vscode extension. If I open created drawio.png file in Draw.io desktop app and just re-save it - it will save it show embedded image correctly in the result file, but not during this extension
+1
This happens now with the latest desktop app too
+1 I need to copy-paste all the time into the web version just to export any changes. Does anyone have a better solution for this while still using the extension?
I thought I'd try the desktop application today (22.0.0 on Mac) so I just installed it a few minutes ago.
I've got one image in my diagram that has this behavior. Here's the repro case.
bad_export.drawio.remove_this_fake_extension.txt
In the meantime, back to the web app for me.
Still happening with desktop app in December
Any news?
It is appears to be a bug because of the URL. When you copy an image from online its truly copying the URL which fails for some reason. If you paste a screenshot, it will work.
I.e. Cmd
+ Ctrl
+ Shift
+ 4
on a Mac then Cmd
+ V
.
Not ideal especially if you want transparent backgrounds but it works.
I have the following diagram:
When I export it to PNG, instead of the GitLab logo, I get a black X. When I open the same diagram on diagrams.net and export there, the logo will be intact.
Looking at this diagram source code, I can already imagine why this is a problem and how to work around it. I figured I bring it up regardless.