C# Class iTextSharp.text.pdf.codec.TiffImage

Mostra file Open project: mapo80/iTextSharp-Monotouch

Public Methods

Method Description
ApplyPredictor ( byte uncompData, int predictor, int w, int h, int samplesPerPixel ) : void
DecodePackbits ( byte data, byte dst ) : void
GetNumberOfPages ( RandomAccessFileOrArray s ) : int
GetTiffImage ( RandomAccessFileOrArray s, int page ) : Image
GetTiffImage ( RandomAccessFileOrArray s, int page, bool direct ) : Image
Inflate ( byte deflated, byte inflated ) : void

Protected Methods

Method Description
GetTiffImageColor ( TIFFDirectory dir, RandomAccessFileOrArray s ) : Image

Private Methods

Method Description
GetArrayLongShort ( TIFFDirectory dir, int tag ) : long[]
GetDpi ( TIFFField fd, int resolutionUnit ) : int
ProcessExtraSamples ( ZDeflaterOutputStream zip, ZDeflaterOutputStream mzip, byte outBuf, int samplePerPixel, int bitsPerSample, int width, int height ) : Image

Method Details

ApplyPredictor() public static method

public static ApplyPredictor ( byte uncompData, int predictor, int w, int h, int samplesPerPixel ) : void
uncompData byte
predictor int
w int
h int
samplesPerPixel int
return void

DecodePackbits() public static method

public static DecodePackbits ( byte data, byte dst ) : void
data byte
dst byte
return void

GetNumberOfPages() public static method

public static GetNumberOfPages ( RandomAccessFileOrArray s ) : int
s iTextSharp.text.pdf.RandomAccessFileOrArray
return int

GetTiffImage() public static method

public static GetTiffImage ( RandomAccessFileOrArray s, int page ) : Image
s iTextSharp.text.pdf.RandomAccessFileOrArray
page int
return Image

GetTiffImage() public static method

public static GetTiffImage ( RandomAccessFileOrArray s, int page, bool direct ) : Image
s iTextSharp.text.pdf.RandomAccessFileOrArray
page int
direct bool
return Image

GetTiffImageColor() protected static method

protected static GetTiffImageColor ( TIFFDirectory dir, RandomAccessFileOrArray s ) : Image
dir TIFFDirectory
s iTextSharp.text.pdf.RandomAccessFileOrArray
return Image

Inflate() public static method

public static Inflate ( byte deflated, byte inflated ) : void
deflated byte
inflated byte
return void