Changes from Version 7.0 to Version 8.0

Version 8.0 of the LEADTOOLS C API has changed from version 7.0 as follows:

Changed functions

The following functions have changed from the previous version of LEADTOOLS:

L_GetBitmapRowColCompressed

L_PutBitmapRowColCompressed

L_SizeBitmap

L_TwainSetProps

L_PaintDCBuffer (changed usage with 1-bit compressed data)

L_CombineBitmap (now uses Windows-style coordinates, with a top-left origin)

L_PaintDCEffect (moved from the kernel to the effects library)

L_PaintRgnDCEffect (moved from the kernel to the effects library)

Changed structures

The following structures have been changed to support new features:

Changed error messages

The following constants for error messages have been changed to avoid conflicts with other Microsoft constants:

Old constant New constant
ERROR_NOT_SUPPORTED ERROR_FEATURE_NOT_SUPPORTED
ERROR_FILE_NOT_FOUND ERROR_FILENOTFOUND
ERROR_INVALID_DATA ERROR_INVALIDDATA

Other changes to upgrade your application code

The LEADTOOLS Express editions toolkit now supports rotated view perspectives, which let you achieve faster rotation in 90-degree increments. If you implement the new view perspectives, you should make the following changes in your code. (You can follow the examples in the LEADTOOLS sample code.)

The rest of this topic lists the new functions in version 8.0.

Fast rotation by changing the view perspective (Express editions only):

L_RotateBitmapViewPerspective

View perspective support functions:

L_PointFromBitmap

L_PointToBitmap

L_RectFromBitmap

L_RectToBitmap

L_ChangeBitmapViewPerspective

Special paint effects:

L_EfxDraw3dShape

L_EfxDraw3dText

L_EfxDrawFrame

L_EfxDrawRotated3dText

L_EfxEffectBlt

L_EfxGradientFillRect

L_EfxPaintBitmap

L_EfxPaintTransition

L_EfxPatternFillRect

Setting contrast and brightness of all displayed images:

L_GetPaintContrast

L_SetPaintContrast

L_GetPaintGamma

L_SetPaintGamma

L_GetPaintIntensity

L_SetPaintIntensity

Enhanced polygon support for annotations (Express editions only):

L_AnnGetPointCount

L_AnnGetPoints

Automatic cropping/trimming of margins:

L_AutoTrimBitmap

L_GetAutoTrimRect

L_TrimBitmap

New filters for dilation and erosion (Express editions only):

L_MaxFilterBitmap

L_MinFilterBitmap

New filters for artistic effects:

L_OilifyBitmap

L_SolarizeBitmap

Region processing, transparency, and alpha channel support:

L_CreateMaskFromBitmapRgn

L_SetBitmapRgnFromMask

TIFF tag support:

L_SetTag

L_GetTag

L_ReadFileTag

L_ReadFileTagMemory

New functions for 1-bit compressed data (Express editions only):

L_GetBitmapRowCompressed

L_PutBitmapRowCompressed

L_CompressRows

L_ExpandRows

FlashPix Extended support (FlashPix Module only):

L_GetFileCommentSize

L_ReadFileCommentExt

L_WriteFileCommentExt

L_ReadFileStamp

L_WriteFileStamp

L_LoadFileTile

L_SaveFileTile

L_ReadFileTransforms

L_WriteFileTransforms

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

LEADTOOLS Raster Imaging C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.