About
Docs
Files
Support
Index

Essentials
AutoDocs
Library functions
Cooperate
Process mastering
Debug
Own debugging kit
FGE
Smart modeid pick
Loader
Shared lib. loader
Macros
Helper macros
Structs
All the structures
Logs
Library changelogs
Tools
Progs baked inside

Tools
amiscreen0.3
ansifilter0.1
auto2guide0.1
ccfilter0.1
chipset0.1
cputype0.1
device640.1
dupfilter0.1
expandlogs0.1
findsm0.2
fmpp0.1
fsmount0.1
genanim0.3
gensymtab0.1
hashlab0.4
ktm0.6
linkpoint0.1
logo2ilbm0.1
lpradio0.1
lzwpack0.1
minism0.2
mkheader0.1
modeidctrl0.1
mss0.6
multisum0.3
newterm0.2
numconv0.1
palhack1.1
patmat0.1
pfr0.2
playamitape0.1
qdbflags0.1
qfill0.1
resmodinit0.2
sadctrl0.2
saveassign0.1
setanim0.2
systime0.1
tokendump0.1
uassign0.1
viewlogo0.1
waitback0.4
wrapmount0.1



L
Z
W
P
A
C
K

lzwpack-0.1
------------

---

This  program  allows  to  compress  or decompress  data using  simple  LZW
algorithm. If you need to embed some data into your prog and you found them
easily  compressible with this routine you can then use  'mkheader'  on the
resulting  file so that it can be compiled in. Decompression routine can be
found in the 'qdev'.

---

NOTES:

[*]
Requires  68020(no FPU)+, OS2.04(theoretically)+,  64+ kilo of free memory.

[*]
Following  routine is really good at compressing text or bitmap data or the
like. It  really sucks on anything else, but yes it is small(something like
500 bytes).

[*]
Read  the autodocs on 'mem_lzwcompress()' and 'mem_lzwdecompress()' and see
the private header for more details. Note!  Routines  can operate on memory
only!

[*]
This program is being used to compress  '.logo'  files when creating binary
images or animations.

---

HELP:

   > lzwpack ?

     IF=INPUTFILE/A,OF=OUTPUTFILE/A,FP=FORCEPACK/S,FU=FORCEUNPACK/S



   IF=INPUTFILE/A    -  A file that contains compressible data or file that
                        has already been compressed(autodetection).

   OF=OUTPUTFILE/A   -  Depending  on  the input file, can result in packed
                        or unpacked data.

   FP=FORCEPACK/S    -  Force compression if proggy tries to decompress the
                        data that were not compressed.

   FU=FORCEUNPACK/S  -  Force  decompression  if  the  file  lacks  LZW id.

---

USAGE:

   ; Try to pack 'disk.info' as found in 'RAM:'
   lzwpack RAM:disk.info RAM:disk.lzw

---
megacz
    







































No more fear cus pure HTML is here!
Copyright (C) 2013-2014 by Burnt Chip Dominators