C# Class BitMiracle.Tiff2Rgba.Converter

Mostra file Open project: Core-Techs/TiffLibrary Class Usage Examples

Public Properties

Property Type Description
m_compression Compression
m_noAlpha bool
m_processByBlock bool
m_rowsPerStrip int
m_testFriendly bool

Public Methods

Method Description
tiffcvt ( Tiff inImage, Tiff outImage ) : bool

Private Methods

Method Description
copyField ( Tiff inImage, Tiff outImage, TiffTag tag ) : void
cvt_by_strip ( Tiff inImage, Tiff outImage, int width, int height ) : bool
cvt_by_tile ( Tiff inImage, Tiff outImage, int width, int height ) : bool
cvt_whole_image ( Tiff inImage, Tiff outImage, int width, int height ) : bool

Read the whole image into one big RGBA buffer and then write out strips from that. This is using the traditional TIFFReadRGBAImage() API that we trust.

multiply ( int x, int y ) : int

Method Details

tiffcvt() public method

public tiffcvt ( Tiff inImage, Tiff outImage ) : bool
inImage BitMiracle.LibTiff.Classic.Tiff
outImage BitMiracle.LibTiff.Classic.Tiff
return bool

Property Details

m_compression public_oe property

public Compression m_compression
return Compression

m_noAlpha public_oe property

public bool m_noAlpha
return bool

m_processByBlock public_oe property

public bool m_processByBlock
return bool

m_rowsPerStrip public_oe property

public int m_rowsPerStrip
return int

m_testFriendly public_oe property

public bool m_testFriendly
return bool