 | PdfiumFPDFCodecs_FaxEncode(Byte, Int32, Int32, Int32) Method |
Encodes the specified srcBuf the CCITT facsimile standard and stores it in a byte array.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 5.1.3
Syntaxpublic static byte[] FPDFCodecs_FaxEncode(
byte[] srcBuf,
int width,
int height,
int pitch
)
Public Shared Function FPDFCodecs_FaxEncode (
srcBuf As Byte(),
width As Integer,
height As Integer,
pitch As Integer
) As Byte()
public:
static array<unsigned char>^ FPDFCodecs_FaxEncode(
array<unsigned char>^ srcBuf,
int width,
int height,
int pitch
)
static member FPDFCodecs_FaxEncode :
srcBuf : byte[] *
width : int *
height : int *
pitch : int -> byte[] public static byte[] FPDFCodecs_FaxEncode(
byte[] srcBuf,
int width,
int height,
int pitch
)
Patagames.Pdf.Pdfium.FPDFCodecs_FaxEncode = function(srcBuf, width, height, 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
ByteA byte array containing encoded data; Null if any error occurred.
Remarkstypically use for monochrome image data at 1 bit per pixel.
See Also