Freeze/Melt

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
Line 2: Line 2:
 
|formattype=electronic
 
|formattype=electronic
 
|subcat=Compression
 
|subcat=Compression
|extensions={{ext|F}}, {{ext|f}}, {{ext|lzc}}
+
|extensions={{ext|F}}, {{ext|lzc}}
 
|released=≤1991
 
|released=≤1991
 
}}
 
}}
Line 8: Line 8:
  
 
'''Freeze''' is a file compression utility used from the command line in Unix-style operating systems. '''Melt''' is the corresponding decompressor. The format is sometimes called "'''frozen'''". It was developed by Leonid A. Broukhis. It is considered obsolete now in favor of [[gzip]].
 
'''Freeze''' is a file compression utility used from the command line in Unix-style operating systems. '''Melt''' is the corresponding decompressor. The format is sometimes called "'''frozen'''". It was developed by Leonid A. Broukhis. It is considered obsolete now in favor of [[gzip]].
 +
 +
== Discussion ==
 +
File attributes, ownership, etc., are preserved, and a .F extension is added.
  
 
== Format details ==
 
== Format details ==
A two-pass compression is done with a [[Lempel-Zev]] algorithm on the first pass and a dynamic [[Huffman coding|Huffman algorithm]] on the second. The characteristics of the Huffman table used are added to the file. File attributes, ownership, etc., are preserved, and a .F extension is added. A two-byte magic number is prepended to the file (\037\236 octal for versions 1.x, and \037\237 for later versions).
+
Freeze/Melt uses [[LZ77 with Huffman coding]]. The compressed data format is similar in design to that of [[LHA]]'s "lh" compression methods.
 +
 
 +
''Codes'' are compressed with [[adaptive Huffman coding]]. For the newer format, ''offsets'' are decoded with the help of a static Huffman tree stored near the beginning of the file. For the older format, a predefined Huffman-like code is used.
 +
 
 +
The adaptive Huffman format is derived from the same source ("lzhuf.c") as that used by [[LHA]]/LHarc's "lh1" compression method.
 +
 
 +
== Identification ==
 +
Files begin with a two-byte signature: {{magic|0x1f 0x9e}} for versions 1.x, and {{magic|0x1f 0x9f}} for later versions.  
  
 
== Software ==
 
== Software ==
Line 21: Line 31:
 
* [http://www.esrl.noaa.gov/gmd/dv/hats/cats/stations/qnxman/freeze.html Man page] (in NOAA site, which should know something about freezing!)
 
* [http://www.esrl.noaa.gov/gmd/dv/hats/cats/stations/qnxman/freeze.html Man page] (in NOAA site, which should know something about freezing!)
  
 +
[[Category:File formats with extension .f]]
 
[[Category:File formats with case sensitive extensions]]
 
[[Category:File formats with case sensitive extensions]]

Revision as of 14:33, 18 September 2020

File Format
Name Freeze/Melt
Ontology
Extension(s) .F, .lzc
Released ≤1991
See Freeze for other formats with that name.

Freeze is a file compression utility used from the command line in Unix-style operating systems. Melt is the corresponding decompressor. The format is sometimes called "frozen". It was developed by Leonid A. Broukhis. It is considered obsolete now in favor of gzip.

Contents

Discussion

File attributes, ownership, etc., are preserved, and a .F extension is added.

Format details

Freeze/Melt uses LZ77 with Huffman coding. The compressed data format is similar in design to that of LHA's "lh" compression methods.

Codes are compressed with adaptive Huffman coding. For the newer format, offsets are decoded with the help of a static Huffman tree stored near the beginning of the file. For the older format, a predefined Huffman-like code is used.

The adaptive Huffman format is derived from the same source ("lzhuf.c") as that used by LHA/LHarc's "lh1" compression method.

Identification

Files begin with a two-byte signature: 0x1f 0x9e for versions 1.x, and 0x1f 0x9f for later versions.

Software

References

  • Man page (in NOAA site, which should know something about freezing!)
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox