Changes from Version 8.0 to Version 9.0

Version 9.0 of the LEADTOOLS C DLL has changed from version 8.0 as follows:

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_AppendPlayback

L_BitmapHasRgn

L_CancelPlaybackWait

L_ChangeFromDDB

L_ChangeToDDB

L_ClearPlaybackUpdateRect

L_ClipboardReady

L_ConvertColorSpace

L_ConvertFromDDB

L_ConvertToDDB

L_CopyFromClipboard

L_CopyToClipboard

L_CopyToClipboardExt

L_CreatePaintPalette

L_CreateMaskFromBitmapRgn

L_CreatePlayback

L_DestroyPlayback

L_FrameBitmapRgn

L_FreeBitmapRgn

L_GetBitmapRgnArea

L_GetBitmapRgnBounds

L_GetBitmapRgnHandle

L_GetDisplayMode

L_GetPaintContrast

L_GetPaintGamma

L_GetPaintIntensity

L_GetPlaybackDelay

L_GetPlaybackIndex

L_GetPlaybackState

L_GetPlaybackUpdateRect

L_HalfToneBitmap

L_HalfToneBitmapExt

L_IsPtInBitmapRgn

L_OffsetBitmapRgn

L_PaintDC

L_PaintDCBuffer

L_PaintRgnDC

L_PaintRgnDCBuffer

L_PrintBitmap

L_PrintBitmapExt

L_PrintBitmapFast

L_ProcessPlayback

L_ScreenCaptureBitmap

L_SetBitmapRgnColor

L_SetBitmapRgnEllipse

L_SetBitmapRgnFromMask

L_SetBitmapRgnHandle

L_SetBitmapRgnPolygon

L_SetBitmapRgnRect

L_SetBitmapRgnRoundRect

L_SetDisplayMode

L_SetPaintContrast

L_SetPaintGamma

L_SetPaintIntensity

L_SetPlaybackIndex

L_UnderlayBitmap

L_ValidatePlaybackLines

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):

L_AnnGetHyperlink

L_AnnGetHyperlinkLen

L_AnnGetHyperlinkMenuEnable

L_AnnSetHyperlink

L_AnnSetHyperlinkMenuEnable

Annotation security (Express editions only):

L_AnnGetLocked

L_AnnLock

L_AnnShowLockedIcon

L_AnnUnlock

Annotation display (Express editions only):

L_AnnGetROP2

L_AnnGetTransparent

L_AnnSetROP2

L_AnnSetTransparent

Saving annotations (Express editions only):

L_AnnSaveTag

Restoring redact objects (Express editions only):

L_AnnUnrealize

Window leveling (Medical Express only):

L_GetMinMaxBits

L_GetMinMaxVal

L_WindowLevel

L_WindowLevelBitmap

Loading input/output file filters:

L_IgnoreFilters

L_PreLoadFilters

Miscellaneous:

L_ClearNegativePixels

L_ConvertBufferExt