Globals
Stimulsoft
Report
Export
LZWEncoder
Class LZWEncoder
Hierarchy
LZWEncoder
Index
Constructors
constructor
Properties
BITS
Clear
Code
EOF
EOFCode
HSIZE
a_
count
accum
clear_
flg
codetab
cur
Pixel
cur_
accum
cur_
bits
exports
free_
ent
g_
init_
bits
hsize
htab
imgH
imgW
init
Code
Size
masks
maxbits
maxcode
maxmaxcode
n_
bits
pix
Ary
remaining
Methods
MAXCODE
char_
out
cl_
block
cl_
hash
compress
encode
flush_
char
next
Pixel
output
Constructors
constructor
new LZWEncoder
(
width
:
any
, height
:
any
, pixels
:
any
, color_depth
:
any
)
:
LZWEncoder
Parameters
width:
any
height:
any
pixels:
any
color_depth:
any
Returns
LZWEncoder
Properties
BITS
BITS
:
number
= 12
Clear
Code
Clear
Code
:
any
EOF
EOF
:
number
= -1
EOFCode
EOFCode
:
any
HSIZE
HSIZE
:
number
= 5003
a_
count
a_
count
:
any
accum
accum
:
any
[]
= []
clear_
flg
clear_
flg
:
boolean
= false
codetab
codetab
:
any
[]
= []
cur
Pixel
cur
Pixel
:
any
cur_
accum
cur_
accum
:
number
= 0
cur_
bits
cur_
bits
:
number
= 0
exports
exports
:
object
Type declaration
free_
ent
free_
ent
:
number
= 0
g_
init_
bits
g_
init_
bits
:
any
hsize
hsize
:
number
= this.HSIZE
htab
htab
:
any
[]
= []
imgH
imgH
:
any
imgW
imgW
:
any
init
Code
Size
init
Code
Size
:
any
masks
masks
:
number
[]
= [0x0000, 0x0001, 0x0003, 0x0007, 0x000F, 0x001F, 0x003F, 0x007F, 0x00FF, 0x01FF, 0x03FF, 0x07FF, 0x0FFF, 0x1FFF, 0x3FFF, 0x7FFF, 0xFFFF]
maxbits
maxbits
:
number
= this.BITS
maxcode
maxcode
:
any
maxmaxcode
maxmaxcode
:
number
= 1 << this.BITS
n_
bits
n_
bits
:
any
pix
Ary
pix
Ary
:
any
remaining
remaining
:
any
Methods
MAXCODE
MAXCODE
(
n_bits
:
any
)
:
number
Parameters
n_bits:
any
Returns
number
char_
out
char_
out
(
c
:
any
, outs
:
any
)
:
void
Parameters
c:
any
outs:
any
Returns
void
cl_
block
cl_
block
(
outs
:
any
)
:
void
Parameters
outs:
any
Returns
void
cl_
hash
cl_
hash
(
hsize
:
any
)
:
void
Parameters
hsize:
any
Returns
void
compress
compress
(
init_bits
:
any
, outs
:
any
)
:
void
Parameters
init_bits:
any
outs:
any
Returns
void
encode
encode
(
os
:
any
)
:
void
Parameters
os:
any
Returns
void
flush_
char
flush_
char
(
outs
:
any
)
:
void
Parameters
outs:
any
Returns
void
next
Pixel
next
Pixel
(
)
:
number
Returns
number
output
output
(
code
:
any
, outs
:
any
)
:
void
Parameters
code:
any
outs:
any
Returns
void
Globals
Stimulsoft
Report
Export
Htmls
Office
Services
LZWEncoder
constructor
BITS
Clear
Code
EOF
EOFCode
HSIZE
a_
count
accum
clear_
flg
codetab
cur
Pixel
cur_
accum
cur_
bits
exports
free_
ent
g_
init_
bits
hsize
htab
imgH
imgW
init
Code
Size
masks
maxbits
maxcode
maxmaxcode
n_
bits
pix
Ary
remaining
MAXCODE
char_
out
cl_
block
cl_
hash
compress
encode
flush_
char
next
Pixel
output
Generated using
TypeDoc