Creats an Image in CCITT mode.

Namespace: iTextSharp.text
Assembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0

Collapse imageSyntax

C#
public ImgCCITT(
	int width,
	int height,
	bool reverseBits,
	int typeCCITT,
	int parameters,
	byte[] data
)
Visual Basic
Public Sub New ( _
	width As Integer, _
	height As Integer, _
	reverseBits As Boolean, _
	typeCCITT As Integer, _
	parameters As Integer, _
	data As Byte() _
)
Visual C++
public:
ImgCCITT(
	int width, 
	int height, 
	bool reverseBits, 
	int typeCCITT, 
	int parameters, 
	array<unsigned char>^ data
)

Parameters

width
Type: System..::..Int32
the exact width of the image
height
Type: System..::..Int32
the exact height of the image
reverseBits
Type: System..::..Boolean
reverses the bits in data. Bit 0 is swapped with bit 7 and so on
typeCCITT
Type: System..::..Int32
the type of compression in data. It can be CCITTG4, CCITTG31D, CCITTG32D
parameters
Type: System..::..Int32
parameters associated with this stream. Possible values are CCITT_BLACKIS1, CCITT_ENCODEDBYTEALIGN, CCITT_ENDOFLINE and CCITT_ENDOFBLOCK or a combination of them
data
Type: array<System..::..Byte>[]()[][]
the image data

Collapse imageSee Also