encode_metablock_BlockSplitter

encode_metablock_BlockSplitter

Overview

encode_metablock_BlockSplitter is a class in Aspose.Font FOSS for Python.

This class provides 3 methods for working with encode_metablock_BlockSplitter objects in Python programs. Available methods include: AddSymbol, FinishBlock, __init__. All public members are accessible to any Python application after installing the Aspose.Font FOSS for Python package. Properties: HistogramTypeInt, alphabet_size_, block_size_, curr_histogram_ix_, histograms_, last_entropy_, and 7 more.

Properties

NameTypeAccessDescription
last_entropy_``ReadGets the last entropy .
last_histogram_ix_``ReadGets the last histogram ix .
HistogramTypeInt``ReadGets the histogram type int.
alphabet_size_``ReadGets the alphabet size .
min_block_size_``ReadGets the min block size .
split_threshold_``ReadGets the split threshold .
num_blocks_``ReadGets the num blocks .
split_``ReadGets the split .
histograms_``ReadGets the histograms .
target_block_size_``ReadGets the target block size .
block_size_``ReadGets the block size .
curr_histogram_ix_``ReadGets the curr histogram ix .
merge_last_count_``ReadGets the merge last count .

Methods

SignatureDescription
__init__(HistogramTypeInt, alphabet_size, min_block_size, split_threshold, num_symbols, split, histograms)Calls init on this encode_metablock_BlockSplitter instance.
AddSymbol(symbol)Adds a symbol to the current block’s histogram
FinishBlock(is_final)Finalizes the current block, optionally marking it as final

See Also