Creats an Image in CCITT mode.
Namespace: iTextSharp.text
Assembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0
Syntax
C# |
---|
public ImgCCITT(
int width,
int height,
bool reverseBits,
int typeCCITT,
int parameters,
byte[] 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
See Also