You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Encountered a tilemap with zstd compression, easy enough to load and save it without but thought since there was a module on pip for zstd, might just add some optional support - if zstd is installed, then support decompression.
Something like:
try:
importzstdexceptImportError:
zstd=False# ... in decompression codeifcompression=="zstd":
ifzstd:
data=zstd.decompress(data)
else:
raiseValueError("layer compression zstd is not supported. Install zstd to enable support.")
Already have a PR drafted if there is interest.
The text was updated successfully, but these errors were encountered:
Encountered a tilemap with zstd compression, easy enough to load and save it without but thought since there was a module on pip for zstd, might just add some optional support - if
zstd
is installed, then support decompression.Something like:
Already have a PR drafted if there is interest.
The text was updated successfully, but these errors were encountered: