C# Class BitMiracle.LibTiff.Classic.Internal.DumpModeCodec

Inheritance: TiffCodec
Show file Open project: Core-Techs/TiffLibrary

Public Methods

Method 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.

DumpModeCodec ( Tiff tif, Compression scheme, string name ) : System
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
Seek ( int row ) : bool

Seeks the specified row in the strip being processed.

Private Methods

Method Description
DumpModeDecode ( byte buffer, int offset, int count, short plane ) : bool

Decode a hunk of pixels.

DumpModeEncode ( byte buffer, int offset, int count, short plane ) : bool

Encode a hunk of pixels.

Method Details

DecodeRow() public method

Decodes one row of image data.
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 at /// which to begin storing decoded bytes.
count int The number of decoded bytes that should be placed /// to
plane short The zero-based sample plane index.
return bool

DecodeStrip() public method

Decodes one strip of image data.
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 at /// which to begin storing decoded bytes.
count int The number of decoded bytes that should be placed /// to
plane short The zero-based sample plane index.
return bool

DecodeTile() public method

Decodes one tile of image data.
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 at /// which to begin storing decoded bytes.
count int The number of decoded bytes that should be placed /// to
plane short The zero-based sample plane index.
return bool

DumpModeCodec() public method

public DumpModeCodec ( Tiff tif, Compression scheme, string name ) : System
tif Tiff
scheme Compression
name string
return System

EncodeRow() public method

Encodes one row of image data.
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 at /// which to begin read image data.
count int The maximum number of encoded bytes that can be placed /// to
plane short The zero-based sample plane index.
return bool

EncodeStrip() public method

Encodes one strip of image data.
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 at /// which to begin read image data.
count int The maximum number of encoded bytes that can be placed /// to
plane short The zero-based sample plane index.
return bool

EncodeTile() public method

Encodes one tile of image data.
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 at /// which to begin read image data.
count int The maximum number of encoded bytes that can be placed /// to
plane short The zero-based sample plane index.
return bool

Init() public method

public Init ( ) : bool
return bool

Seek() public method

Seeks the specified row in the strip being processed.
public Seek ( int row ) : bool
row int The row to seek.
return bool