Summary: Saving a Page as MRC or PDF

The following example uses the MRC functions to save a page as MRC or PDF:

  1. Start up the segmentation process by calling L_MrcStartBitmapSegmentation.

  2. Segment the page by calling L_MrcSegmentBitmap.

  3. Change some properties of the segments by calling L_MrcSetSegmentData and L_MrcEnumSegments.

  4. Delete some segments by calling L_MrcDeleteSegment and L_MrcEnumSegments.

  5. Combine segments by calling L_MrcCombineSegments and L_MrcEnumSegments.

  6. Copy the segmentation handle and data to another handle by calling L_MrcCopySegmentationHandle.

  7. Call L_MrcSaveSegmentation to save the resulting segments to a file. To load segments that have bee saved to a file, call L_MrcLoadSegmentation.

  8. Call L_MrcSaveBitmapT44 to save the page as a Standard T44 file OR Call L_MrcSaveBitmap to save the page using LEAD Proprietary T44 Format.

  9. Call L_MrcSaveBitmapList to save a multi page file using Standard T44 format, LEAD Proprietary T44 format or PDF format.

  10. End the segmentation process by calling L_MrcStopBitmapSegmentation.

The functionality provided by this module can be broken into the following categories:

  1. Start up and end the segmentation process:

  2. Automatic segmentation of a page:

    L_MrcSegmentBitmap

  3. Manual segmentation of a page: L_MrcCreateNewSegment

  4. Manipulating segments:

  5. Saving a page as MRC or PDF:

  6. Saving multiple pages as MRC or PDF: L_MrcSaveBitmapList

  7. Loading an MRC file:

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Mixed Raster Content (MRC) C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.