Method | Defined By | ||
---|---|---|---|
CCITTG4Encoder(width:int)
Creates a new encoder. | CCITTG4Encoder | ||
CCITTG4Encoder | |||
[static]
Encodes a full image. | CCITTG4Encoder | ||
fax4Encode(data:Bytes, offset:int, size:int):void
Encodes a number of lines. | CCITTG4Encoder | ||
fax4Encode2(data:Bytes, height:int):void
Encodes a number of lines. | CCITTG4Encoder |
CCITTG4Encoder | () | Constructor |
public function CCITTG4Encoder(width:int)
Creates a new encoder.
Parameterswidth:int — the line width
|
close | () | method |
compress | () | method |
public static function compress(data:Bytes, width:int, height:int):Bytes
Encodes a full image.
Parameters
data:Bytes — the data to encode
| |
width:int — the image width
| |
height:int — the image height
|
Bytes — the encoded image
|
fax4Encode | () | method |
public function fax4Encode(data:Bytes, offset:int, size:int):void
Encodes a number of lines.
Parameters
data:Bytes — the data to be encoded
| |
offset:int — the offset into the data
| |
size:int — the size of the data to be encoded
|
fax4Encode2 | () | method |
public function fax4Encode2(data:Bytes, height:int):void
Encodes a number of lines.
Parameters
data:Bytes — the data to be encoded
| |
height:int — the number of lines to encode
|