{'fraction_non_alphanumeric': 0.028315946348733235, 'fraction_numerical': 0.0, 'mean_word_length': 5.188940092165899, '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}}
A New Joint Compression-Watermarking Scheme using Truncation Coding

Block Truncation coding (BTC) is a technique for image compression. To divide the original image into many nonoverlapped blocks, each of which is represented by two distinct values. In traditional BTC, the two values preserve the firstand second-moment characteristics of the original block. Nowadays, most of the multimedia is compressed before it is stored. It is more appropriate to embed information such as a watermark during compression.BTC is a good solution for image or video compression with an extremely low complexity. To improve the bitmap arrangement, error diffusion is used which is called using Error-Diffused Block Truncation Coding (EDBTC), in which the energy-preserving property of EDF is exploited to improve image quality. In the proposed system, Majority-Parity-Guided Error-Diffused Block Truncation Coding (MPG-EDBTC) is applied which embeds the watermark simultaneously during compression, by evaluating the parity value in a predefined Parity-Check Region (PCR). It is found that the false contour and blocking effect that existed in the traditional BTC (Block Truncation Coding) can be removed by this proposed system. The Advanced Encryption Standard (AES) has been included in the proposed system so as to remove the attacks due to intruders.