Skip to content

Scripting: Added tiled.compress, tiled.decompress and Base64 encoding/decoding #3593

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

Merged
merged 3 commits into from
Mar 1, 2023

Conversation

bjorn
Copy link
Member

@bjorn bjorn commented Mar 1, 2023

Providing some convenience functions for commonly used compression formats and base64 encoding, mostly useful when implementing file formats.

Closes #3153

Providing some convenience functions for commonly used compression
formats and base64 encoding, mostly useful when implementing file
formats.

Closes mapeditor#3153
bjorn added 2 commits March 1, 2023 15:51
Also changed Base64.encode to return a string and added
Base64.encodeAsBytes in case somebody needs the data as binary.
@bjorn bjorn changed the title Scripting: Added tiled.compress, decompress, toBase64 and fromBase64 Scripting: Added tiled.compress, tiled.decompress and Base64 encoding/decoding Mar 1, 2023
@bjorn bjorn force-pushed the script-compress branch from 52da762 to a3bec8d Compare March 1, 2023 15:25
@bjorn bjorn merged commit 4b6ab32 into mapeditor:master Mar 1, 2023
@bjorn bjorn deleted the script-compress branch March 1, 2023 15:38
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

Successfully merging this pull request may close these issues.

Support compression and decompression in JavaScript API
1 participant