Version 9.0 of the LEADTOOLS C API has changed from version 8.0 as follows:
LTKRN90N.DLL and LTKRN90W.DLL have each been split in two. The new DLLs are LTKRN90N.DLL and LTDIS90N.DLL, and LTKRN90W.DLL and LTDIS90W.DLL. All programs that display images will have to use the appropriate LTDIS90 .DLL file in their projects.
Reusable dialogs for the most common LEADTOOLS imaging functions are now provided.
FileOpen and FileSave dialogs have been extended to contain LEADTOOLS specific options.
A Thumbnail Preview option for FileOpen dialog allows the end user to preview images before loading them.
A Thumbnail Preview option for the image processing dialogs allows the end user to preview the proposed change to the image, before actually affecting the original image.
An optional Help Button callback function lets you provide custom help information for each dialog.
A user interface control for the dialogs is provided through flags passed to each dialog function.
An option to have the Imaging Common Dialog process the image automatically is provided.
Now you have more control over the loading and caching of the file filter DLLs.
Now you save more than one custom TIFF tag.
Now you can load only a specified portion of an image file.
[Express editions] Support for ISIS scanning has been added.
[Express editions only] New functions allow you to hyperlink annotations. Annotations may be hyperlinked to run a program, access a Web page, or send a user defined message.
[Express editions only] New annotation functions allow you to add security to annotation objects.
[Express editions only] New annotation functions allow you to create hilite objects.
[Express editions only] New annotation functions allow you to set bitmap stamps to be transparent.
[Express editions only] Support for 12 and 16-bit grayscale images is included.
[Express editions only] New window leveling functions for 12 and 16-bit grayscale allow you to map grayscale intensities by specifying the bit range and/or a user defined color map. It is valid only for 12 and 16-bit grayscale images.
[Express editions only] Support for annotations in a TIFF tag is included.
[Express editions only] The automated mode for annotation lets you move individual points in a polygon or a polyline.
Changed functions
The following functions have changed from the previous version of LEADTOOLS:
L_AnnLoad (will load annotations from LEAD files or TIF files)
L_AnnRealize ( redact object background is now saved in the object)
L_AnnSaveMemory (new format options)
L_SetTag (added tag option)
L_ColorResBitmap (new flag option)
L_LoadBitmap (now supports 12 and 16-bit grayscale images Express editions only)
L_LoadBitmapList (now supports 12 and 16-bit grayscale images Express editions only)
L_LoadBitmapMemory (now supports 12 and 16-bit grayscale images Express editions only)
L_LoadFile (now supports 12 and 16-bit grayscale images Express editions only)
L_LoadFileOffset (now supports 12 and 16-bit grayscale images Express editions only)
L_LoadFileTile (FlashPix Module) (supports all formats, not just FlashPix. Now supports 12 and 16-bit grayscale images Express editions only)
L_LoadMemory (now supports 12 and 16-bit grayscale images - Express editions only)
L_InitBitmap (now supports 12 and 16-bit grayscale images - Express editions only)
L_ConvertBuffer (now supports 12 and 16-bit grayscale images - Express editions only)
L_CreateBitmap (now supports 12 and 16-bit grayscale images - Express editions only)
L_GetBitmapRow (now supports 12 and 16-bit grayscale images - Express editions only)
L_GetBitmapRowCol (now supports 12 and 16-bit grayscale images - Express editions only)
L_SaveBitmap (now supports 12 and 16-bit grayscale images - Express editions only)
L_SaveBitmapMemory (now supports 12 and 16-bit grayscale images - Express editions only)
L_SaveFile (now supports 12 and 16-bit grayscale images - Express editions only)
L_StartFeedLoad (now supports 12 and 16-bit grayscale images - Express editions only)
Relocated functions:
The following functions have been moved to ltdis.h:
L_CopyToClipboardExt
L_HalfToneBitmapExt
L_PrintBitmapExt
Changed structures
The following structures have been changed to support new features:
BITMAPHANDLE has new fields for window leveling.
New error messages
The following constants for error messages have been added:
New constant |
Definition |
ERROR_FPX_FILE_CREATE_ERROR |
FlashPix error |
ERROR_FPX_FILE_NOT_OPEN_ERROR |
FlashPix error |
ERROR_FPX_USER_ABORT |
FlashPix error |
ERROR_FPX_OLE_FILE_ERROR |
FlashPix error |
ERROR_FPXEXTENSIONS_LOCKED |
'FlashPix extension module' is needed to use this function |
ERROR_ANN_LOCKED |
Annotation object is locked |
ERROR_ISIS_NOCURSCANNER |
No ISIS Scanner selected |
ERROR_ISIS_SCANDRIVER_NOT_LOADED |
ISIS Scanner driver failed to load |
ERROR_ISIS_CANCEL |
ISIS operation canceled by user |
ERROR_ISIS_BAD_TAG_OR_VALUE |
Bad ISIS Tag or Bad Tag Value |
ERROR_ISIS_NOT_READY |
ISIS Scanner not ready |
ERROR_ISIS_NO_PAGE |
No page in the ISIS Scanner |
ERROR_ISIS_JAM |
ISIS Scanner Jam error |
ERROR_ISIS_SCANNER_ERROR |
ISIS Scanner driver error |
ERROR_ISIS_BUSY |
ISIS Scanner is busy |
ERROR_ISIS_FILE_ERROR |
ISIS File driver error |
ERROR_ISIS_NETWORK_ERROR |
ISIS Network error |
ERROR_ISIS_NOT_INSTALLED |
ISIS is not installed |
ERROR_DLG_CANCELED |
Imaging Common Dialog canceled by user |
ERROR_DLG_FAILED |
Imaging Common Dialog Error - error during creation of dialog |
The rest of this topic lists the new functions in version 9.0.
Imaging Common Dialog:
L_DlgColorRes
L_DlgFileOpen
L_DlgFileSave
L_DlgGetAngle
L_DlgGetChange
L_DlgGetEmboss
L_DlgGetFilter
L_DlgGetGamma
L_DlgGetNoise
L_DlgGetRange
L_DlgGetSize
L_DlgWindowLevel
ISIS support (Express editions):
L_ISISAcquire
L_ISISAcquireMulti
L_ISISGetTagLong
L_ISISGetTagShort
L_IsISISAvailable
L_ISISLoadDriver
L_ISISSelect
L_ISISSetTagLong
L_ISISSetTagShort
L_ISISUnloadDriver
Annotation hyperlinks (Express editions only):
Annotation security (Express editions only):
Annotation display (Express editions only):
Saving annotations (Express editions only):
Restoring redact objects (Express editions only):
Window leveling (Medical Express only):
Loading input/output file filters:
Miscellaneous:
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET