Version 12.1 of the LEADTOOLS C API has changed from Version 12 as follows:
LEADTOOLS now supports the J2K and JP2 JPEG 2000 file formats. (JPEG 2000 Plug In only)
Please note that the vector file format support previously provided by the LEADTOOLS File Format Plug ins is now provided through the LEADTOOLS Vector View Plug in. Therefore, the L_SUPPORT_VECTOR_DWG, L_SUPPORT_VECTOR_DWF, L_SUPPORT_VECTOR_DXF, L_SUPPORT_VECTOR_MISC and L_SUPPORT_VECTOR_ALL constants are now obsolete. If these constants are currently in your code, they will continue to work in LEADTOOLS 12.1. However, you should consider adding the LEADTOOLS Vector View Plug in or upgrading to the LEADTOOLS Vector Imaging Pro toolkit.
Vector support can now be unlocked for viewing only. Please note that if vector viewing support is unlocked using L_SUPPORT_VECTOR_VIEW, vector editing functions will return ERROR_VECTOR_LOCKED.
LEADTOOLS now supports ImageList messages for unselecting an item.
LEADTOOLS now supports loading and saving multi-page TIFF files using the ImageList control.
The Thumbnail Browser can now be used to create thumbnails for a single image file.
LEADTOOLS provides a new Deskew function that lets you specify the background color.
LEADTOOLS now supports Magnifying Glass features that let you update the bitmap from another source during the procedure.
LEADTOOLS also provides support for customizing the shape of the Magnifying Glass.
LEADTOOLS now supports File Transfer mode for acquiring images from TWAIN devices.
LEADTOOLS provides new support for changing the hue, saturation and value of images, allowing you to color replace a range of colors.
New functions let you create a region based on an RGB color range or an HSV color range.
LEADTOOLS can now convert between V4 and V5 DIBs.
DICOM now supports Structured IODs.
LEADTOOLS now supports the loading and saving of RAW uncompressed image data.
LEADTOOLS can now convert from JPEG compressed DIBs.
LEADTOOLS can now convert from RLE4 and RLE8 compressed DIBs.
LEADTOOLS provides more support for grouping and ungrouping annotation objects.
LEADTOOLS now provides support for changing the background color of Redact, Push pin, Note and Hilite objects created by an automation object.
LEADTOOLS provides more support for undoing automation operations in automated annotations.
LEADTOOLS can now allocate memory in tiles for supporting very large images.
LEADTOOLS now supports 12 and 16-bit grayscale histograms.
The Vector toolkit now supports faster loading for DWF, DWG, DXF and HPGL files.
The Vector toolkit now supports more entities for DWG and DXF files.
Changed or removed functions
The following functions have been changed from the previous version of LEADTOOLS or removed:
The L_SetLoadInfoCallback now works for RAW uncompressed data.
The LEADTOOLS Multimedia toolkits currently include many of the functions documented in the Ltnetdlln.chm help file and this manual. This is the final version of the LEADTOOLS Multimedia toolkit that will contain those functions. In future releases, the functions documented in the Ltnetdlln.chm help file will only be available in the LEADTOOLS Internet Imaging toolkits.
Changed structures
The LOADINFO structure now contains an RGBQUAD member and takes new flags. These additions allow this structure to be used with RAW uncompressed data.
The SAVEFILEOPTION structure has a new flag for use with RAW uncompressed data.
The rest of this topic lists the new functions in version 12.1.
Annotations (Document and Medical toolkits)
DIB
L_ChangeToDIB2
L_ConvertToDIB2
Image Processing
L_DeskewBitmap2
L_GetBitmapHistogramGray (now replaced with L_GetBitmapHistogram)
JPEG 2000 Support
Magnifying Glass
Region Processing
Thumbnail Browser
TWAIN
L_TwainAcquireFile
TWAINFILEFORMATCALLBACK
TWAINFILETRANSFERCALLBACK
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