Open main menu

Difference between revisions of "SCI/Specifications/Resource files/Decompression algorithms"

m
Improving table formatting
(Forgot to add a table)
m (Improving table formatting)
 
Line 3: Line 3:
The decompression algorithms used in SCI are as follows:
The decompression algorithms used in SCI are as follows:


==SCI0 compression algorithms==
{| border="1"  cellspacing="0" cellpadding="5"
{| border="1"
|+ SCI0 compression algorithms
|'''method'''
!'''method''' || '''algorithm'''
|'''algorithm'''
|-
|----
|0 || uncompressed
|0
|-
|uncompressed
|1 || LZW
|----
|-
|1
|2 || HUFFMAN
|LZW
|----
|2
|HUFFMAN
|----
|}
|}




==SCI01 compression algorithms==
{| border="1" cellspacing="0" cellpadding="5"
 
|+SCI01 compression algorithms
{| border="1"
|'''method'''
|'''method'''
|'''algorithm'''
|'''algorithm'''
Line 40: Line 34:
|}
|}


==SCI1.0 compression algorithms==


{| border="1"
 
{| border="1" cellspacing="0" cellpadding="5"
|+SCI1.0 compression algorithms
|'''method'''
|'''method'''
|'''algorithm'''
|'''algorithm'''
Line 63: Line 58:
|}
|}


== SCI1.1 compression algorithms ==
{| border="1"  cellspacing="0" cellpadding="5"
{| border="1"
|+SCI1.1 compression algorithms
|'''method'''
|'''method'''
|'''algorithm'''
|'''algorithm'''
Line 81: Line 76:
|----
|----
|}
|}




As reported by Vladimir Gneushev, SCI32 uses STACpack (as described in RFC 1974) explicitly, determining whether there is a need for compression by comparing the size of the compressed data block with that of the uncompressed.
As reported by Vladimir Gneushev, SCI32 uses STACpack (as described in RFC 1974) explicitly, determining whether there is a need for compression by comparing the size of the compressed data block with that of the uncompressed.
245

edits