Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
Changes from Version 9.0 to Version 10
The product line in Version 10 has been redesigned. If you are an existing LEADTOOLS customer, please take a moment to familiarize yourself with the new line of products and the new features:
VBX Pro, ActiveX32 Pro, ActiveX16 Pro, WIN16 Pro, and WIN32 Pro are gone.
ActiveX16/32 Pro is now LEADTOOLS Imaging and includes C, C++, and MFC documentation.
WIN16/32 Pro is now LEADTOOLS Imaging Pro.
The Video module is no longer available as an add-on. LEAD's Multimedia support is included in the following new products: LEADTOOLS Multimedia, LEADTOOLS Multimedia Pro, LEADTOOLS Document Express, LEADTOOLS Document Express Suite and LEADTOOLS Medical Express.
The Pro-Express document imaging features, annotations, bitonal display filters, fast rotation, ISIS® support and faster compression and decompression are included in all Express editions.
The OCR Module is no longer available. LEAD's OCR support is only in the LEADTOOLS Document Express Suite toolkit.
LEADTOOLS Medical Express contains all of the features present in the Express editions, plus DICOM, 12 and 16 bit grayscale, and window leveling support.
Version 10 of the LEADTOOLS C DLL has changed from version 9.0 as follows:
Loading WMF files at the resolution present in the file is now supported.
Saving WMF files at the current resolution is now supported.
Loading and saving JBIG is now supported. (Saving is only available in the JBIG Module.)
Updated the manner in which L_AnnHitTest will test for the following objects:
Line Annotation Object
Polyline Annotation Object
Freehand Line Annotation Object
Rectangle Annotation Object
Ellipse Annotation Object
Polygon Annotation Object
Pointer Annotation Object
Ruler Annotation Object
For objects that have an interior (ex. Rectangle, Ellipse), if the fill mode is transparent and the fill style is solid, the object will only be selected if the user clicks on the border of the object. If the fill mode is anything other than transparent, the object can be selected by clicking on its interior or on its borders.
This will allow the user to select an annotation object that is beneath another object, without having to change the enumeration order.
Added Grouping and Ungrouping of annotation objects. This allows the user to treat several annotation objects as a single object. Objects must then be ungrouped to be treated as individual objects.
Added the ability to remove menu items from the Annotation Automation menu by setting the menu item text to an empty string using L_AnnSetAutoText.
Minimized flicker effect for annotation object display.
Users can no longer create objects outside the root container.
Users can no longer move objects outside the root container
Multipass painting for the EFX_EFFECT_PUSH_CLASS is disabled. For a list of available effects, refer to Effect Text Style Flags and Effect Text Alignment Flags.
Loading and saving Lossless JPEG is now supported.
Loading and saving Lossless JTIF is now supported.
Loading and saving 12-bit Lossy JPEG is now supported.
Loading and saving 12-bit Lossy JTIF is now supported.
Saving 12-bit uncompressed TIFF is now supported.
Loading and saving EMF files is now supported.
Optimized code takes advantage of the MMX processors to load CMP, JPEG, and JTIF files 40% faster.
LEADTOOLS will now only load fax files if you provide a LOADINFOCALLBACK function by calling L_SetLoadInfoCallback. To have LEADTOOLS automatically recognize the width and height of the fax file, set LOADINFO.Width and LOADINFO.Height to -1.
Special Effects have expanded to include a choice of over 2000 paint effects, 36 gradients, 80 shapes, 12 3-D text styles, 64 dissolves, and 43 transition effects, with delays, grain sizes, pattern brushes and a colored wand.
2018 Effects are now supported. For the full list, refer to Effects.
80 Shapes are now supported. For a full list, refer to Shapes.
36 Gradients are now supported. For a full list, refer to Gradients.
43 Transitions are now supported. For a full list, refer to Transition Filling Styles.
12 Text Styles are now supported. For a full list, refer to Effect Text Style Flags and Effect Text Alignment Flags.
Imaging Common Dialogs have been expanded to include imaging dialogs for Paint Effect, Transition, Gradient, 3D Text and 3D Shape.
Added File Format Support includes the new Fuji Exif version 2.0, multi-page TIFF enhancements (delete, insert, replace, and add with enhanced speed). LEAD continues to deliver the most comprehensive file format support by expanding the number of flavors and variants supported in the following file formats: PICT, JPEG, GIF, WINFAX, PCX, CALS, AWD, FlashPix, DICOM, EPS, PSD, and PNG.
New PanWindow functions gives you the ability to view a small rectangular section of a large image in magnified detail. By clicking inside the pan window you can move the mouse and pan the image in the main window. While scrolling the image in the main window, the pan rectangle will move to indicate the current displayed area.
You can now delete individual pages from a multi-page file and insert or replace a page in a multi-page file.
You can replace an image with a new image generated using a picturized algorithm – an image processing feature that allows you to create one picture from thousands of separate images. Automatically chooses (based on closest color values) and resizes the images and shows the processing progress. Allows for customization of cell sizes. This feature lets user’s create a wide array of exciting new eye-catching images. The more pictures you have to choose from, the better the resulting image.
Screen Capture capabilities becomes the 15th imaging technology category found in LEADTOOLS. New capture functions allow you to capture all or part of the screen into a bitmap. Capture the entire screen, active window, menu under cursor, window under cursor (button, tool bar, icon, or client area), selected object, mouse cursor or wallpaper. Allows for capture of a selected area of the screen in a wide array of shapes such as rectangle, rounded rectangle, ellipse, polygon or freehand. Icon, bitmap and cursor resources can be captured from 32-bit Windows EXE and DLL files. Options include Multi-capture with callback, Hot Keys, and time interval. Great for presentation and application documentation.
Improved ISIS® support. A new function allows you to display an ISIS settings dialog without scanning.
[Medical Express only] Improved TWAIN scanning to support 16-bit grayscale images is now provided.
Automatic recognition of some Group 3 - 1D and Group 3 - 2D raw fax files is now provided.
Many of the 60+ Image Processing functions have been fine tuned to deliver increased speed and accuracy.
The OCR has been enhanced to include the ability to return the recognized character and its location in the document during the recognition process.
Changed functions
The following functions have changed from the previous version of LEADTOOLS:
L_EnumDimensions (supports JBIG files)
L_GetDimension (supports JBIG files)
L_SetDimension (supports JBIG files)
L_FileInfo (takes an extra parameter)
L_FileInfoMemory (takes an extra parameter)
L_FillBitmap (supports 16-bit grayscale COLORREF values in Medical Express editions only)
L_GetPixelColor (supports 16-bit grayscale COLORREF values in Medical Express editions only)
L_PutPixelColor (supports 16-bit grayscale COLORREF values in Medical Express editions only)
L_ISISAcquireMulti (takes a new flag)
ISISCALLBACK (takes an extra parameter, the bitmap)
Changed structures
The following structures have been changed to support new features:
FILEINFO has a new field for total pages.
EXTFILEOPTION has the following new flags:
EFO_REPLACEPAGE
EFO_INSERTPAGE
EFO_JPEGSTAMP
FILESAVEPARM has had a parameter changed:
L_BOOL bSaveMulti has been changed to L_UINT uSaveMulti.
New error messages
The following constants for error messages have been added:
New constant
ERROR_JBIG_NOT_ENABLED |
/* JBIG capability required to use this function */ |
ERROR_PAGE_NOT_FOUND |
/* Page not found. */ |
ERROR_DELETE_LAST_PAGE |
/* You cannot delete a page from a file having only one page. */ |
ERROR_PANWINDOW_NOT_CREATED |
/* PanWindow was not created. */ |
ERROR_NO_HOTKEY |
/* There is no hotkey */ |
ERROR_CANNOT_CREATE_HOTKEY_WINDOW |
/* Error creating the hotkey window */ |
ERROR_MEDICAL_NOT_ENABLED |
/* Medical Express capability is required to use this function */ |
ERROR_CAPTURE_STILL_IN_PROCESS |
/* capture is still in progress */ |
ERROR_INVALID_DELAY |
/* the user passed an invalid delay value */ |
ERROR_INVALID_COUNT |
/* the user passed an invalid capture count */ |
ERROR_INVALID_INTERVAL |
/* the user passed an invalid interval value */ |
ERROR_HOTKEY_CONFILCTS_WITH_CANCELKEY |
/* the user specified the hotkey to be the same as the cancel key */ |
ERROR_CAPTURE_INVALID_AREA_TYPE |
/* wrong area type passed to L_CaptureArea() */ |
ERROR_CAPTURE_NO_OPTION_STRUCTURE |
/* invalid options structure pointer */ |
ERROR_CAPTURE_INVALID_FILL_PATTERN |
/* invalid fill pattern */ |
ERROR_CAPTURE_INVALID_LINE_STYLE |
/* invalid line style */ |
ERROR_CAPTURE_INVALID_INFOWND_POS |
/* invalid position for the info window */ |
ERROR_CAPTURE_INVALID_INFOWND_SIZE |
/* invalid size for the info window */ |
ERROR_CAPTURE_ZERO_AREA_SIZE |
/* capture area is equal to zero */ |
ERROR_CAPTURE_FILE_ACCESS_FAILED |
/* The specified filename couldn't be read */ |
ERROR_CAPTURE_INVALID_32BIT_EXE_OR_DLL |
/* The specified filename is not a valid 32bit EXE/DLL */ |
ERROR_CAPTURE_INVALID_RESOURCE_TYPE |
/* The specified resource type is not supported */ |
ERROR_CAPTURE_INVALID_RESOURCE_INDEX |
/* The index resource is out of range */ |
ERROR_CAPTURE_NO_ACTIVE_WINDOW |
/* no active window */ |
ERROR_CAPTURE_CANNOT_CAPTURE_WINDOW |
/* cannot capture window */ |
ERROR_CAPTURE_STRING_ID_NOT_DEFINED |
/* undefined string ID */ |
ERROR_CAPTURE_DELAY_LESS_THAN_ZERO |
/* delay must be at least zero */ |
ERROR_CAPTURE_NO_MENU |
/* no menu to capture */ |
The rest of this topic lists the new functions in version 10.
JBIG Support
Imaging Common Dialogs:
L_DlgGetEffect
L_DlgGetGradient
L_DlgGetShape
L_DlgGetText
L_DlgGetTransition
L_DlgGetDirectory
PanWindow:
Screen Capture:
L_CaptureActiveClient (refer to Ltscrdlln.chm)
L_CaptureActiveWindow (refer to Ltscrdlln.chm)
L_CaptureArea (refer to Ltscrdlln.chm)
L_CaptureAreaOptionDlg (refer to Ltscrdlln.chm)
L_CaptureFromEXE (refer to Ltscrdlln.chm)
L_CaptureFromEXEDlg (refer to Ltscrdlln.chm)
L_CaptureFullScreen (refer to Ltscrdlln.chm)
L_CaptureGetResCount (refer to Ltscrdlln.chm)
L_CaptureMenuUnderCursor (refer to Ltscrdlln.chm)
L_CaptureMouseCursor (refer to Ltscrdlln.chm)
L_CaptureSelectedObject (refer to Ltscrdlln.chm)
L_CaptureSetHotKeyCallback (refer to Ltscrdlln.chm)
L_CaptureWallPaper (refer to Ltscrdlln.chm)
L_CaptureWindowUnderCursor (refer to Ltscrdlln.chm)
L_GetCaptureOption (refer to Ltscrdlln.chm)
L_GetDefaultAreaOption (refer to Ltscrdlln.chm)
L_GetDefaultObjectOption (refer to Ltscrdlln.chm)
L_IsCaptureActive (refer to Ltscrdlln.chm)
L_SetCaptureOption (refer to Ltscrdlln.chm)
L_SetCaptureOptionDlg (refer to Ltscrdlln.chm)
L_StopCapture (refer to Ltscrdlln.chm)
LEADCAPTUREOPTION (refer to Ltscrdlln.chm)
LEADCAPTUREINFO (refer to Ltscrdlln.chm)
LEADCAPTUREAREAOPTION (refer to Ltscrdlln.chm)
LEADCAPTUREOBJECTOPTION (refer to Ltscrdlln.chm)
CAPTURECALLBACK Function (refer to Ltscrdlln.chm)
CAPTUREHOTKEYCALLBACK Function (refer to Ltscrdlln.chm)
Miscellaneous:
L_ISISSetScanOptions