Méthode | Description | |
---|---|---|
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 | ||
PackBitsCodec ( Tiff tif, Compression scheme, string name ) : System | ||
PreEncode ( short plane ) : bool |
Prepares the encoder part of the codec for a encoding. PreEncode is called after TiffCodec.SetupEncode and before encoding. |
Méthode | Description | |
---|---|---|
PackBitsDecode ( byte buffer, int offset, int count, short plane ) : bool | ||
PackBitsEncode ( byte buf, int offset, int cc, short s ) : bool | ||
PackBitsEncodeChunk ( byte buffer, int offset, int count, short plane ) : bool |
Encode a rectangular chunk of pixels. We break it up into row-sized pieces to insure that encoded runs do not span rows. Otherwise, there can be problems with the decoder if data is read, for example, by scanlines when it was encoded by strips.
|
|
PackBitsPreEncode ( short s ) : 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. |
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 PackBitsCodec ( Tiff tif, Compression scheme, string name ) : System | ||
tif | Tiff | |
scheme | Compression | |
name | string | |
Résultat | System |
public PreEncode ( short plane ) : bool | ||
plane | short | The zero-based sample plane index. |
Résultat | bool |