Свойство | Тип | Описание | |
---|---|---|---|
m_name | string | ||
m_scheme | Compression | ||
m_tif |
Метод | Описание | |
---|---|---|
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.
|
|
DefStripSize ( int size ) : int |
Calculates and/or constrains a strip size.
|
|
DefTileSize ( int &width, int &height ) : void |
Calculate and/or constrains a tile size
|
|
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 |
Initializes this instance.
|
|
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. |
|
Seek ( int row ) : bool |
Seeks the specified row in the strip being processed.
|
|
SetupDecode ( ) : bool |
Setups the decoder part of the codec. SetupDecode is called once before PreDecode. |
|
SetupEncode ( ) : bool |
Setups the encoder part of the codec. SetupEncode is called once before PreEncode. |
|
TiffCodec ( |
Initializes a new instance of the TiffCodec class.
|
Метод | Описание | |
---|---|---|
noDecode ( string method ) : bool | ||
noEncode ( string method ) : bool |
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. |
Результат | 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. |
Результат | 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. |
Результат | bool |
public DefStripSize ( int size ) : int | ||
size | int | The proposed strip size (may be zero or negative). |
Результат | int |
public DefTileSize ( int &width, int &height ) : void | ||
width | int | The proposed tile width upon the call / tile width to use after the call. |
height | int | The proposed tile height upon the call / tile height to use after the call. |
Результат | void |
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. |
Результат | 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. |
Результат | 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. |
Результат | bool |
public PreDecode ( short plane ) : bool | ||
plane | short | The zero-based sample plane index. |
Результат | bool |
public PreEncode ( short plane ) : bool | ||
plane | short | The zero-based sample plane index. |
Результат | bool |
public TiffCodec ( |
||
tif | An instance of |
|
scheme | Compression | The compression scheme for the codec. |
name | string | The name of the codec. |