Méthode | Description | |
---|---|---|
CCITTCodec ( Tiff tif, Compression scheme, string name ) : System | ||
Cleanup ( ) : void |
Cleanups the state of the codec. Cleanup is called when codec is no longer needed (won't be used) and can be used for example to restore tag methods that were substituted. |
|
Close ( ) : void |
Flushes any internal data buffers and terminates current operation.
|
|
DecodeRow ( byte buffer, int offset, int count, short plane ) : bool |
Decodes one row of image data.
|
|
DecodeStrip ( byte buffer, int offset, int count, short plane ) : bool |
Decodes one strip of image data.
|
|
DecodeTile ( byte buffer, int offset, int count, short plane ) : bool |
Decodes one tile of image data.
|
|
EncodeRow ( byte buffer, int offset, int count, short plane ) : bool |
Encodes one row of image data.
|
|
EncodeStrip ( byte buffer, int offset, int count, short plane ) : bool |
Encodes one strip of image data.
|
|
EncodeTile ( byte buffer, int offset, int count, short plane ) : bool |
Encodes one tile of image data.
|
|
Init ( ) : bool | ||
PostEncode ( ) : bool |
Performs any actions after encoding required by the codec. PostEncode is called after encoding and can be used to release any external resources needed during encoding. |
|
PreDecode ( short plane ) : bool |
Prepares the decoder part of the codec for a decoding. PreDecode is called after SetupDecode and before decoding. |
|
PreEncode ( short plane ) : bool |
Prepares the encoder part of the codec for a encoding. PreEncode is called after SetupEncode and before encoding. |
|
SetupDecode ( ) : bool | ||
SetupEncode ( ) : bool |
Setups the encoder part of the codec. SetupEncode is called once before PreEncode. |
Méthode | Description | |
---|---|---|
CHECK_b1 ( int &b1 ) : void | ||
CLEANUP_RUNS ( string module ) : void | ||
ClrBits ( int n ) : void | ||
EXPAND1D ( string module ) : bool | ||
EXPAND2D ( string module, int b1 ) : bool | ||
EndOfData ( ) : bool | ||
FILL ( int n, byte cp, int &offset, byte value ) : void | ||
Fax3BadLength ( string module ) : void | ||
Fax3Decode1D ( byte buffer, int offset, int count ) : bool |
Decode the requested amount of G3 1D-encoded data.
|
|
Fax3Decode2D ( byte buffer, int offset, int count ) : bool |
Decode the requested amount of G3 2D-encoded data.
|
|
Fax3DecodeRLE ( byte buffer, int offset, int count ) : bool |
Decode the requested amount of RLE-encoded data.
|
|
Fax3Encode ( byte buffer, int offset, int count ) : bool |
Encode a buffer of pixels.
|
|
Fax3Encode1DRow ( ) : bool | ||
Fax3Encode2DRow ( ) : bool | ||
Fax3Encode2DRow_Pixel ( byte buf, int bufOffset, int ix ) : int | ||
Fax3Extension ( string module ) : void | ||
Fax3PostEncode ( ) : bool | ||
Fax3PrematureEOF ( string module ) : void | ||
Fax3PutEOL ( ) : void | ||
Fax3Unexpected ( string module ) : void | ||
Fax4Decode ( byte buffer, int offset, int count ) : bool |
Decode the requested amount of G4-encoded data.
|
|
Fax4Encode ( byte buffer, int offset, int count ) : bool |
Encode the requested amount of data.
|
|
Fax4PostEncode ( ) : bool | ||
GetBits ( int n ) : int | ||
InitCCITTFax3 ( ) : void | ||
LOOKUP16 ( faxTableEntry &TabEnt, int wid, bool useBlack ) : bool | ||
LOOKUP8 ( faxTableEntry &TabEnt, int wid ) : bool | ||
NeedBits16 ( int n ) : bool | ||
NeedBits8 ( int n ) : bool | ||
SETVALUE ( int x ) : void | ||
SWAP ( int &a, int &b ) : void | ||
SYNC_EOL ( ) : bool | ||
TIFFInitCCITTFax3 ( ) : bool | ||
TIFFInitCCITTFax4 ( ) : bool | ||
TIFFInitCCITTRLE ( ) : bool | ||
TIFFInitCCITTRLEW ( ) : bool | ||
cleanState ( ) : void | ||
fax3FillRuns ( byte buffer, int offset, int runs, int thisRunOffset, int nextRunOffset, int width ) : void | ||
find0span ( byte bp, int bpOffset, int bs, int be ) : int | ||
find1span ( byte bp, int bpOffset, int bs, int be ) : int | ||
finddiff ( byte bp, int bpOffset, int _bs, int _be, int _color ) : int | ||
finddiff2 ( byte bp, int bpOffset, int _bs, int _be, int _color ) : int | ||
flushBits ( ) : void | ||
handlePrematureEOFinExpand2D ( string module ) : void | ||
is2DEncoding ( ) : bool | ||
isLongAligned ( int offset ) : bool | ||
isShortAligned ( int offset ) : bool | ||
putBits ( int bits, int length ) : void | ||
putcode ( tableEntry te ) : void | ||
putspan ( int span, bool useBlack ) : void | ||
setupState ( ) : bool |
public CCITTCodec ( Tiff tif, Compression scheme, string name ) : System | ||
tif | Tiff | |
scheme | Compression | |
name | string | |
Résultat | System |
public DecodeRow ( byte buffer, int offset, int count, short plane ) : bool | ||
buffer | byte | The buffer to place decoded image data to. |
offset | int | The zero-based byte offset in |
count | int | The number of decoded bytes that should be placed
/// to |
plane | short | The zero-based sample plane index. |
Résultat | bool |
public DecodeStrip ( byte buffer, int offset, int count, short plane ) : bool | ||
buffer | byte | The buffer to place decoded image data to. |
offset | int | The zero-based byte offset in |
count | int | The number of decoded bytes that should be placed
/// to |
plane | short | The zero-based sample plane index. |
Résultat | bool |
public DecodeTile ( byte buffer, int offset, int count, short plane ) : bool | ||
buffer | byte | The buffer to place decoded image data to. |
offset | int | The zero-based byte offset in |
count | int | The number of decoded bytes that should be placed
/// to |
plane | short | The zero-based sample plane index. |
Résultat | bool |
public EncodeRow ( byte buffer, int offset, int count, short plane ) : bool | ||
buffer | byte | The buffer with image data to be encoded. |
offset | int | The zero-based byte offset in |
count | int | The maximum number of encoded bytes that can be placed
/// to |
plane | short | The zero-based sample plane index. |
Résultat | bool |
public EncodeStrip ( byte buffer, int offset, int count, short plane ) : bool | ||
buffer | byte | The buffer with image data to be encoded. |
offset | int | The zero-based byte offset in |
count | int | The maximum number of encoded bytes that can be placed
/// to |
plane | short | The zero-based sample plane index. |
Résultat | bool |
public EncodeTile ( byte buffer, int offset, int count, short plane ) : bool | ||
buffer | byte | The buffer with image data to be encoded. |
offset | int | The zero-based byte offset in |
count | int | The maximum number of encoded bytes that can be placed
/// to |
plane | short | The zero-based sample plane index. |
Résultat | bool |
public PreDecode ( short plane ) : bool | ||
plane | short | The zero-based sample plane index. |
Résultat | bool |
public PreEncode ( short plane ) : bool | ||
plane | short | The zero-based sample plane index. |
Résultat | bool |