Click or drag to resize

PdfiumFPDFCodecs_FaxEncode(Byte, Int32, Int32, Int32) Method

Encodes the specified srcBuf the CCITT facsimile standard and stores it in a byte array.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 5.1.3
Syntax
public static byte[] FPDFCodecs_FaxEncode(
	byte[] srcBuf,
	int width,
	int height,
	int pitch
)

Parameters

srcBuf  Byte
The buffer, containing data must be encoded.
width  Int32
The width of the image in pixels.
height  Int32
The height of the image in scan lines.
pitch  Int32
Byte aligned width of scan line.

Return Value

Byte
A byte array containing encoded data; Null if any error occurred.
Remarks
typically use for monochrome image data at 1 bit per pixel.
See Also