Packbits

PackBits is a fast, simple compression scheme for run-length encoding of data. Apple introduced the PackBits format with the release of MacPaint on the Macintosh computer. This compression scheme is one of the types of compression that can be used in TIFF-files. A PackBits data stream consists of packets of one byte of header followed by data. The header is a signed byte; the data can be signed, unsigned, or packed (such as MacPaint pixels).
Header byteData
0 to 1271 + n literal bytes of data
0 to -127One byte of data, repeated 1 - n times in the decompressed output
-128No operation
Note that interpreting 0 as positive or negative makes no difference in the output. Runs of two bytes adjacent to non-runs are typically written as literal data.

External links

Apple webpage describing the PackBits format

 

<< PreviousWord BrowserNext >>
personality psychology
pronoun
pelagianism
patripassianism
psilanthropism
pendulum clock
programmable logic controller
proprietary software
peter david
plenum
potential difference
pretoria
peano axioms
procyon
prisoner of war
privacy
proton proton chain reaction
plankton
pi day
the excellent prismatic spray
positivism
pauli effect
pat mills
pearl index
presbyterian church usa
pia colada
pub rock (australia)
phonation
principal ideal domain
pioneer program
p 38 lightning
prayer
punjabi language
power associativity
pierre de coubertin
polish notation
peyote
primary education
preprocessing
piedmont
palestinian views of the peace process
product of rings
posthumanism
parameter