SetKfactor

#include "BITIFF.H"

BOOL CALLBACK SetKfactor(UINT wNewKfactor)

Description

Set the new value of the K factor (the number of 2-D coded consecutive lines). The SetKfactor() function is used with CCITT Group 3 two dimensional encoding.

Parameters

UINT

wNewKfactor

New value of K factor

Return values

Returns TRUE if the new value is greater than 1, otherwise returns FALSE.

Programming notes

The K factor must be greater than 1. Recommended values are 2,4,6,8. The default value is 2.

Requirements

Header :     Declared in BiTiff.h; include BiTiff.h.

Library :    Use BiTIFF.lib.

DLLs :       BiTiff.dll.