Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.drawio.png file saving generates invalid/broken blank image #329

Open
saiya opened this issue Dec 15, 2024 · 1 comment
Open

.drawio.png file saving generates invalid/broken blank image #329

saiya opened this issue Dec 15, 2024 · 1 comment

Comments

@saiya
Copy link

saiya commented Dec 15, 2024

Hi! Thank you for making super great plugin.

I would like to report an issue of the latest this plugin + latest InteliJ IDEA.

My environment

  • MacOS 14.7.2
  • InteliJ IDEA 2024.3.1 CE
  • Diagrams.net Integration 0.2.6

Problem

  1. Create empty .drawio.png file, or open .drawio.png file with this plugin
  2. Edit the image
  3. Save
  4. Open the file with any image viewer (InteliJ's image viewer, Mac's Preview.app, browser, ...) that shows blank

The mimimal reproduced example

Edit with this plugin:

image

Open that drawio.png with any viewer:

image image

The file (compressed as zip to prevent GitHub doing any post-processing): test.drawio.png.zip

Workaround

Editing and saving that image with draw.io's official standalone editor works well.
The resulted .drawio.png image is valid PNG.

image

Note: Because editing that image with the draw.io's official standalone editor works well, embedding draw.io metadata inside PNG looks working well.

@saiya
Copy link
Author

saiya commented Dec 15, 2024

I don't remember exact version, but the .drawio.png editing worked well until very recent version (likely previous version of InteliJ)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant