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

PERSPECTIVEDESKEWOPTIONS

REFLECTIONOPTIONS

STITCH_IMAGE_TYPE

STITCH_METHOD_TYPE

STITCH_SETTINGS

STITCH_SIDE_MATCHING_TYPE

New Functionality

L_AllocBuffer

L_AverageBinarization

L_BlurDetectionExt

L_CreateLeadDC2

L_DetectLinesBitmap

L_DetectTablesBitmap

L_EnumFileTags2

L_FreeBlurDetectionOptions

L_FreeDetectLinesBitmap

L_FreeDetectTablesBitmap

L_GetDecryptOptions

L_GetExcelOptions

L_GetPowerPointOptions

L_MICRDetectionEXT

L_PerspectiveDeskewExt

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_ImgKrnCopyImage

L_ImgKrnCreateImage

L_ImgKrnCropImage

L_ImgKrnDetectBusinessCard

L_ImgKrnDetectDocument

L_ImgKrnDetectGlare

L_ImgKrnFromYUV

L_ImgKrnInvertImage

L_ImgKrnManualPerspectiveCorrection

L_ImgKrnRotateFlipImage

L_ImgKrnSignalToNoiseRatio

L_MICRDetection

Removed DLLs

LtImgKrnu.dll

LtImgKrnx.dll

Changed Data Types

FILEHTMLLOADOPTIONS - Takes one new member.

FILEINFO - Removed one member.

FILETXTOPTIONS - Takes 3 new members.

L_TEMPFILEMODE - Takes one new member.

MRZDETECTION - Takes one new member.

Removed Data Types

L_ImgKrnCreateImageOptions

L_ImgKrnImage

L_ImgKrnImageFormat

L_ImgKrnPerspectiveCorrectionData

L_ImgKrnRotateFlipType

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_CREATIONDATE [266] Date and time the file was originally created.
CMNT_CREATOR [265] The name of the application that created the original file. Equal to the 'Creator' entry in PDF Info dictionary.
CMNT_GPSHORIZPOSITIONINGERROR [262] Horizontal positioning error in meters. Data type: RATIONAL; Length: 1; Default: None.
CMNT_KEYWORDS [264] Keywords, separated by comma of semicolon. Equal to 'Keywords' entry in the PDF Info dictionary.
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_MODIFICATIONDATE [267] Date and time the file was last modified.
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_SUBJECT [263] Subject of the document. This will sometimes have entries that are also in CMNT_KEYWORDS.
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.
ELO2_NO_IMAGE_DATA_CONVERSION [0x000000040] Do not convert float or signed image data. Useful for getting the original floating point values store in the source file.
ENUM_TAGDATA [0x0001] If this flag is set, the tag data will be passed to the ENUMTAGS2CALLBACK callback.
ESO2_ADJUST_STAMP_SIZE [0x00100000] Decrease stamp size so it fits inside the StampWidth x StampHeight rectangle.
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.
FILE_WEBP [404] WebP single page file format.
FILE_WEBP_ANI [405] WebP animated file format.
FILE_XLSB [403] Microsoft Office Excel Binary file format (XLSX Binary).
FILEINFO_FLOAT [0x08000000] Image with floating values for pixels.
FILEINFO_HAS_BOM [0x02000000] This source file has a BOM.
FILEINFO_HAS_ICC [0x04000000] The file contains an embedded ICC profile.
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.
MRZ_DOUBLE_PASS_PROCESSING [0x0004] Enables the double pass setting when reading MRZ code.
MRZ_EXPAND_MRZ_ZONE [0x0008] Expands the detected MRZ zone.
MRZ_FIND_DESKEW_ANGLE [0x0002] Returns the skew angle of the detected MRZ code.
MRZ_FIND_ORIENTATION_ANGLE [0x0001] Returns the orientation angle of the detected MRZ code.
MRZ_RETURN_PROCESSED_IMAGE [0x0010] Returns the processed binarized image that is generated and used by the function to detect the MRZ code.
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.

As of LEADTOOLS v22 LEAD Advanced Bitonal Compression (ABC) is no longer supported.

For feature details, refer to What's New in Version 22.

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

LEADTOOLS Raster Imaging C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.