Changes from Version 21 to Version 22

Version 22 of this C API has changed from version 21 as follows:

New Data Types

BLURDETECTIONOPTIONS

CORECELL

CORELINE

CORELINES

CORETABLE

DETECT_LINES_OPTIONS

DETECT_LINES_RESULT

DETECT_TABLES_OPTIONS

DETECT_TABLES_RESULT

FILEDECRYPTOPTIONS

FILEEXCELOPTIONS

FILEPOWERPOINTOPTIONS

GLAREDETECTIONOPTIONS

L_RegexCostOptions

L_RegexMatch

L_RegexMatches

L_TEXT_ANTI_ALIASING

L_TEXT_ENCODING

L_VerexLogicalExpression

L_VerexStringExpression

LETTERBLUREXTENT

MICRCODEDETECTOROPTIONS

REFLECTIONOPTIONS

STITCH_IMAGE_TYPE

STITCH_METHOD_TYPE

STITCH_SETTINGS

STITCH_SIDE_MATCHING_TYPE

New Functionality

L_AllocBuffer

L_BlurDetectionExt

L_DetectLinesBitmap

L_DetectTablesBitmap

L_EnumFileTags2

L_FreeBlurDetectionOptions

L_FreeDetectLinesBitmap

L_FreeDetectTablesBitmap

L_GetDecryptOptions

L_GetExcelOptions

L_GetPowerPointOptions

L_MICRDetectionEXT

L_Regex_Create

L_Regex_DefaultCostOptions

L_Regex_Destroy

L_Regex_IsMatch

L_Regex_Matches

L_SetDecryptOptions

L_SetExcelOptions

L_SetPowerPointOptions

L_StitchBitmap

L_Verex_AddLogicalExpression

L_Verex_AddStringExpression

L_Verex_Create

L_Verex_Destroy

L_Verex_GetPattern

Removed Functionality

L_MICRDetection

Changed Data Types

FILEHTMLLOADOPTIONS - Takes one new member.

FILEINFO - Removed one member.

FILETXTOPTIONS - Takes 2 new members.

L_TEMPFILEMODE - Takes one new member.

MRZDETECTION - Takes one new member.

New Defines

Define Value Description
BARCODE_LINE [4] Barcode line.
BIG_DASHED_LINE [2] Big dashed line.
CMNT_COMPOSITEIMAGE [259] Number indicating whether the image is composite or not. Values: 0(Unknown), 1(Non-composite image), 2(General Composite image), 3(Composite image captured when shooting). Data Type: SHORT; Count: 1; Default: 0.
CMNT_GPSHORIZPOSITIONINGERROR [262] Horizontal positioning error in meters. Data type: RATIONAL; Length: 1; Default: None.
CMNT_LENSSPECIFICATION [255] Four values: Focal length (in mm), maximum focal length (in mm), minimum F number in the minimum focal length and minimum F number in the maximum focal length. Data Type: RATIONAL; Count: 4; Default: None.
CMNT_SOURCEEXPOSURETIMESOFCOMPOSITEIMAGE [261] For a composite image, indicates the parameters regarding exposure time of the exposures for generating the composite image. The unit is seconds. It is a complex mix of SHORT and RATIONAL values. See Exif spec for details. Data Type: UNDEFINED; Count: Any); Default: None.
CMNT_SOURCEIMAGENUMBEROFCOMPOSITEIMAGE [260] Two values indicating the number of source images captured for a composite image. First number is the total number of source image candidates (Must be 2 or more), second is number of images actually used to create the composition. Data Type: SHORT; Count: 2; Default: None.
CMNT_SZBODYSERIALNUMBER [254] The serial number of the camera. Data Type: ASCII; Count: Any; Default: None.
CMNT_SZDATETIMEDIGITIZEDSUBSECONDS [252] Indicates the fractions of seconds for CMNT_SZDATETIMEDIGITIZED. Format is similar to CMNT_SZDATETIMESUBSECONDS. Data Type: ASCII; Count: Any; Default: None.
CMNT_SZDATETIMEORIGINALSUBSECONDS [251] Indicates the fractions of seconds for CMNT_SZDATETIMEORIGINAL. Format is similar to CMNT_SZDATETIMESUBSECONDS. Data Type: ASCII; Count: Any; Default: None.
CMNT_SZDATETIMESUBSECONDS [250] Indicates the fractions of seconds for CMNT_SZDATETIME. Uses spaces for leading zeros.
Eg: if time is "05:19:44.025", this field is intended to represent the value ".025". The period is discarded and the leading 0 is converted to a space, so the value of this comment will be the 3-character string " 25".
Data Type: ASCII; Count: Any; Default: None.
CMNT_SZLENSMAKE [256] The name of the company that made the lens. Data Type: ASCII; Count: Any; Default: None.
CMNT_SZLENSMODEL [257] The model name and model number of the lens. Data Type: ASCII; Count: Any; Default: None.
CMNT_SZLENSSERIALNUMBER [258] The serial number of the interchangeable lens used to take the photo. Data Type: ASCII; Count: Any; Default: None.
CMNT_SZOFFSETOFDATETIME [247] Indicates offset from UTC of CMNT_SZDATETIME. Has form "+/-HH:MM". Eg: "-05:00" for Eastern Standard Time. Data Type: ASCII; Count: 7; Default: None.
CMNT_SZOFFSETOFDATETIMEDIGITIZED [249] Indicates offset from UTC of CMNT_SZDATETIMEDIGITIZED. Format is similar to CMNT_SZOFFSETOFDATETIME. Data Type: ASCII; Count: 7; Default: None.
CMNT_SZOFFSETOFDATETIMEORIGINAL [248] Indicates offset from UTC of CMNT_SZDATETIMEORIGINAL. Format is similar to CMNT_SZOFFSETOFDATETIME. Data Type: ASCII; Count: 7; Default: None.
CMNT_SZOWNERNAME [253] Name of the owner of the camera that took the picture. Data Type: ASCII; Count: Any; Default: None.
DASHED_LINE [1] Dashed line.
DATE_LINE [3] Date line.
ENUM_TAGDATA [0x0001] If this flag is set, the tag data will be passed to the ENUMTAGS2CALLBACK callback.
EXCEL_FLAGS_DISABLE_CELL_CLIPPING [0x00000002] If this flag is set, the rendered page width/height chosen by the user will be approximated to the nearest cell width/height to avoid clipping Excel document cells. This means the resulting page's width/height will be either equal to or more than the specified page width/height depending on cell dimensions. This flag has no effect unless EXCEL_FLAGS_MULTIPAGE_SHEET is set.
EXCEL_FLAGS_MULTIPAGE_ENABLEMARGINS [0x00000020] Consider the margins when rendering a sheet or a page.
EXCEL_FLAGS_MULTIPAGE_SHEET [0x00000001] Depending on the current rasterization options set with RASTERIZEDOCOPTIONS, the resulting rendered size of the page can hold more than one sheet. If this flag is set, as many sheets as possible will be rendered on the same page, if the size permits. Otherwise, exactly one sheet per page will be used.
EXCEL_FLAGS_MULTIPAGE_USESHEETWIDTH [0x00000008] Use the full sheet when rasterizing or converting the sheet.
EXCEL_FLAGS_PAGEORDER_DOWNTHENOVER [0x00000010] Cut the sheet into multiple pages by moving from top to bottom first.
EXCEL_FLAGS_SHOW_HIDDEN_SHEETS [0x00000004] Render all hidden sheets.
EXCEL_FLAGS_SHOWGRIDLINES [0x00000040] When set, the sheet's grid lines will be rendered.
FILE_HEIC [402] HEIF file format with HEVC(H265) image compression.
FILEINFO_HAS_BOM [0x02000000] This source file has a BOM.
POWERPOINT_FLAGS_SHOW_HIDDEN_SLIDES [0x00000001] Render all hidden slides (On by default).
REMOVE_LINES [1] This flag will remove the detected lines in the image.
SOLID_LINE [0] Solid line.
MICR_DETECTION_ATTACHED_TO_SIGNATURE [0x0040] The signature overlaps MICR code zone.
MICR_DETECTION_BLUR_IMAGE [0x0002] The image is blur.
MICR_DETECTION_INCORRECT_FIELDS_COUNT [0x0004] The number of MICR code fields are incorrect.
MICR_DETECTION_LARGE_FIELDS_DISTANCE [0x0008] The detected MICR code has large gap between its fields.
MICR_DETECTION_MISSING_CHAR [0x0010] The detected MICR has missing characters.
MICR_DETECTION_NOISY [0x0020] A lot of noisy objects.
MICR_DETECTION_NORMAL [0x0000100] MICR code is correct.
MICR_DETECTION_OVERLAPPED_CHAR [0x0001] MICR code characters are overlapping.

For more information, refer to:

What's New in Version 22

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

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