drawio-desktop icon indicating copy to clipboard operation
drawio-desktop copied to clipboard

Remember if loaded file was uncompressed

Open mtikekar opened this issue 5 years ago • 1 comments

If I open an uncompressed xml file in the GUI and save it, it gets saved as compressed xml. Would it be possible to remember that it was uncompressed when loaded and save it back as uncompressed?

My use case is that I want to store these xml files in git and would prefer git to handle compression however it wants - e.g. either with zlib for individual files or with packfiles to compress multiple versions together. With the compressed xml format, git won't be able to use packfiles.

mtikekar avatar Jul 11 '20 08:07 mtikekar

Had the same use case and problem. #200 actually mentions 2 workarounds for now.

But more importantly: wouldn't it be an easy fix to add compressed="false" when exporting uncompressed?

SunSerega avatar Apr 19 '22 05:04 SunSerega

Literally nobody seems to want compression, so we'll default to uncompressed in the next release. That will be fairly soon, but I'll close this issue up to make book keeping easier.

davidjgraph avatar Mar 22 '23 10:03 davidjgraph