Huffman encoding and deflate compression functionality Split from fortplot_zlib.f90 for file size compliance (Issue #884)
Analyze data to estimate compression ratio Returns value between 0 (incompressible) and 1 (highly compressible)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int8), | intent(in) | :: | data(*) | |||
| integer, | intent(in) | :: | data_len | 
Compress data using fixed Huffman codes with LZ77
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int8), | intent(in) | :: | input_data(*) | |||
| integer, | intent(in) | :: | input_len | |||
| integer(kind=int8), | intent(inout) | :: | output_buffer(:) | |||
| integer, | intent(inout) | :: | output_pos |