Changes from Version 12 to Version 12.1

Version 12.1 of the LEADTOOLS API has changed from Version 12 as follows:

image\sqrblit.gif LEADTOOLS now supports the J2K and JP2 JPEG 2000 file formats. (JPEG 2000 Plug In only)

image\sqrblit.gif 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.

image\sqrblit.gif 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.

image\sqrblit.gif LEADTOOLS now supports ImageList messages for unselecting an item.

image\sqrblit.gif LEADTOOLS now supports loading and saving multi-page TIFF files using the ImageList control.

image\sqrblit.gif The Thumbnail Browser can now be used to create thumbnails for a single image file.

image\sqrblit.gif LEADTOOLS provides a new Deskew function that lets you specify the background color.

image\sqrblit.gif LEADTOOLS now supports Magnifying Glass features that let you update the bitmap from another source during the procedure.

image\sqrblit.gif LEADTOOLS also provides support for customizing the shape of the Magnifying Glass.

image\sqrblit.gif LEADTOOLS now supports File Transfer mode for acquiring images from TWAIN devices.

image\sqrblit.gif LEADTOOLS provides new support for changing the hue, saturation and value of images, allowing you to color replace a range of colors.

image\sqrblit.gif New functions let you create a region based on an RGB color range or an HSV color range.

image\sqrblit.gif LEADTOOLS can now convert between V4 and V5 DIBs.

image\sqrblit.gif DICOM now supports Structured IODs.

image\sqrblit.gif LEADTOOLS now supports the loading and saving of RAW uncompressed image data.

image\sqrblit.gif LEADTOOLS can now convert from JPEG compressed DIBs.

image\sqrblit.gif LEADTOOLS can now convert from RLE4 and RLE8 compressed DIBs.

image\sqrblit.gif LEADTOOLS provides more support for grouping and ungrouping annotation objects.

image\sqrblit.gif LEADTOOLS now provides support for changing the background color of Redact, Push pin, Note and Hilite objects created by an automation object.

image\sqrblit.gif LEADTOOLS provides more support for undoing automation operations in automated annotations.

image\sqrblit.gif LEADTOOLS can now allocate memory in tiles for supporting very large images.

image\sqrblit.gif LEADTOOLS now supports 12 and 16-bit grayscale histograms.

image\sqrblit.gif The Vector toolkit now supports faster loading for DWF, DWG, DXF and HPGL files.

image\sqrblit.gif 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:

image\sqrblit.gif 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

image\sqrblit.gif The LOADINFO structure now contains an RGBQUAD member and takes new flags. These additions allow this structure to be used with RAW uncompressed data.

image\sqrblit.gif 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/Medical only)

L_AnnAddUndoNode

L_AnnGetAutoBackColor

L_AnnGetAutoUndoEnable

L_AnnGetGrouping

L_AnnSetAutoBackColor

L_AnnSetAutoUndoEnable

L_AnnSetGrouping

DIB

L_ChangeToDIB2

L_ConvertToDIB2

Image Processing

L_DeskewBitmap2

L_GetBitmapHistogramGray

L_HSVtoRGB

L_RemapBitmapHue

L_RGBtoHSV

JPEG 2000 Support

L_GetDefaultJ2KOptions

L_GetJ2KOptions

L_SetJ2KOptions

Magnifying Glass

L_StartMagGlass

L_UpdateMagGlass

L_UpdateMagGlassShape

MAGGLASSCALLBACK

Region Processing

L_SetBitmapRgnColorHSVRange

L_SetBitmapRgnColorRGBRange

Thumbnail Browser

L_CreateThumbnailFromFile

TWAIN

L_TwainAcquireFile

TWAINFILEFORMATCALLBACK

TWAINFILETRANSFERCALLBACK