(BS) Hexadecimal compressor [AF10]

by Brendan Silva

Version 4 (April 22, 2025)

Download (25 downloads)

This flowchart provides two compression (encoding) methods:

⒈ Basic/US-ASCII (64 characters): The compression ratio is 1.5, resulting in a space gain of up to 33%. This method can save slightly more space than the Automate "base64Encode" function, which always expects and outputs UTF-8 text.

⒉ Extended/ISO-LATIN-1 (128 characters): The compression ratio is 1.75, giving a space gain of approximately 43%. To ensure effective space savings, always use "CP-1252" or "DOS West European" encodings when saving compressed text to a file.

─── 𝗜𝗺𝗽𝗼𝗿𝘁𝗮𝗻𝘁 ───

Leading zero characters will always be ignored, but you can avoid this issue by adding a non-zero header to the input string.

──────

Tags: af10, algorithm, ascii, base128, base64, bin, binary, character, comparison, compression, cp-1252, cp1250, cp1252, data, database, decimal, decoder, decoding, efficiency, efficient, encoding, european, expand, file, function, header, hex, hexadecimal, iso-latin-1, latin, management, message, method, optimization, rar, ratio, reduction, resource, saving, shrink, size, solution, space, space-saving, storage, string, techniques, text, us-ascii, utf-8, utf8, zip

𝑏𝑦 𝐵𝑟𝑒𝑛𝑑𝑎𝑛 𝑆𝑖𝑙𝑣𝑎
https://www.buymeacoffee.com/brendansilva