ImageFile.UpdatePage Method |
Namespace: Kofax.OmniPageCSDK.IproPlus
public void UpdatePage( int Page, ImageFile SrcImage, int SrcPage, [OptionalAttribute] IMF_FORMAT DstFormat )
This method can only be used with multi-page image TIFF files. A further requirement is that the pages in the multi-page TIFF file must be stored in one-strip format and the StripBytesCount TIFF tag must exist in the page header. TIFF image files created by the Capture SDK fulfill this requirement.
The DstFormat is an optional parameter of type IMF_FORMAT, which defines the compression method of the new page or pages. If DstFormat is unspecified and the source image is a TIFF, the compression method of the source page is used. If DstFormat is unspecified and the source image is not a TIFF, the FF_TIFLZW default compression method is used. The available values for this parameter are: FF_TIFNO, FF_TIFPB, FF_TIFHU, FF_TIFG31, FF_TIFG32, FF_TIFG4, FF_TIFLZW and FF_TIFJPGNEW.