{'fraction_non_alphanumeric': 0.020263424518743668, 'fraction_numerical': 0.0, 'mean_word_length': 5.253164556962025, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Compression with reversible embedded wavelets with an enhanced binary mode

Compression with reversible embedded wavelets (CREW) is a unified lossless and lossy continuous-tone still image compression system. Wavelet coefficients are encoded in a bit-significance embedded order, allowing lossy compression by truncating the compressed data after encoding. CREW's context-based coding, called Horizon coding, takes advantage of the spatial and spectral information available in the wavelet domain and adapts well to the lessor significant bits. CREW's capabilities have been enhanced to include a binary mode for compression of binary and graphic images. This also improves compression on some images that do not use the full dynamic range. The binary mode encodes bit-planes of the image without using the transform. This JBIG-like system uses the resources already available in the CREW system. This paper introduces some basic concepts of CREW and describes the binary mode in detail.