Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
Changes from Version 10 to Version 11 (11.5)
Version 11 of the LEADTOOLS C DLL has changed from version 10 as follows:
LEADTOOLS now supports 48-bit and 64-bit bitmaps. 48-bit bitmaps are color bitmaps with 16-bits per each component (R, G and B). 64-bit bitmaps are 48-bit bitmaps with alpha channel information (16-bit alpha value). (11.5) (Medical Express only)
The Netscape Plug-in now installs by clicking on a self-extracting file and provides more image processing. (11.5)
New flags for the L_RotateBitmap function support interpolation while rotating certain images. (11.5)
New flags for the L_SetDisplayMode function support interpolation while painting. (11.5)
DICOM Network Communication for Message Exchange is now supported. (Medical Express Suite only) (11.5)
LEADTOOLS now supports all possible View Perspective values. (11.5)
LEADTOOLS now provides add-on modules for reading and writing bar codes. (11.5) (Add-on to Express Imaging toolkits)
New functions provide fast flip and fast reverse operations by changing the View Perspective. (11.5)
New functions provide a means for resizing images in portions, allowing the resizing of extremely large images. (11.5)
Duplex scanning (scanning both sides of a page) is now supported for those TWAIN scanners that support duplex scanning.
(Express only) Now supports the following new objects:
ANNOBJECT_CROSSPRODUCT
ANNOBJECT_POINT
ANNOBJECT_PROTRACTOR
ANNOBJECT_VIDEO
ANNOBJECT_PUSHPIN
ANNOBJECT_FREEHANDHOTSPOT
(Express only) Annotation Automation menu items are fully customizable.
(Express only) Annotation Automation toolbar is fully customizable.
(Express only) New Annotation file format, ANNFMT_ENCODED provides an encoded native format for better security and smaller file sizes.
The following new formats are supported:
FILE_CLP (11.5)
FILE_XWD10 (11.5)
FILE_XWD11 (11.5)
FILE_ANI (11.5)
FILE_FLC (11.5)
FILE_DRW (11.5)
FILE_CGM (11.5)
FILE_PCT (Vector) (11.5)
FILE_PLT (11.5)
FILE_INTERGRAPH_VECTOR (11.5)
FILE_PBM_ASCII
FILE_PBM_BINARY
FILE_PGM_ASCII
FILE_PGM_BINARY
FILE_PPM_ASCII
FILE_PPM_BINARY
FILE_CUT
FILE_XPM
FILE_XBM
FILE_IFF_ILBM
FILE_IFF_CAT
FILE_INTERGRAPH_RLE
FILE_DICOM_RLE_GRAY
FILE_DICOM_RLE_COLOR
FILE_DICOM_JPEG_GRAY
FILE_DICOM_JPEG_COLOR
FILE_CALS4
FILE_CALS2
FILE_CALS3
FILE_MPEG2
FILE_DXF – can be read as vector or raster, can be saved as vector.
In WIN32, the dialogs now allow the WIN95 standard context sensitive help icon "?" to be added to the title bar.
An ImageList Control has been added to make working with and displaying a list of images simple.
You can now browse a directory for LEAD supported images and generate thumbnails.
LEADTOOLS now supports MPEG-2.
LEADTOOLS now supports Pentium 3 optimizations.
Changed or removed functions
The following functions have been changed from the previous version of LEADTOOLS or removed:
(Express only) L_AnnCopyToClipboard (takes an extra parameter)
(Express only) L_AnnCutToClipboard (takes an extra parameter)
(Express only) L_AnnCreateToolbar (takes two new parameters)
(Express only) L_AnnEnumerate (takes one new parameter)
(Express only) L_AnnSetVisible (takes one new parameter)
(Express only) L_AnnGetDistance (takes one new parameter)
The following functions no longer set a global value, but instead work on a per-bitmap basis:
The LTCOMMDLGHELPCB callback function now takes two new parameters, the control ID for context sensitive help, and a pointer to user-defined data.
The following functions now take one extra parameter, a pointer to user data for the help callback:
L_DlgFileOpen
L_DlgGetAngle
L_DlgGetSize
L_DlgGetFilter
L_DlgGetChange
L_DlgGetGamma
L_DlgGetNoise
L_DlgGetEmboss
L_DlgGetRange
L_DlgColorRes
L_DlgFileSave
L_DlgWindowLevel
L_DlgGetEffect
L_DlgGetShape
L_DlgGetText
L_DlgGetGradient
L_DlgGetTransition
L_DlgGetDirectory
L_DlgFileSave uFormatFlags has been replaced by two new parameters.
The EXTFILEOPTION structure has been removed, along with L_GetExtFileOption and L_SetExtFileOption, which set global settings for the toolkit. Now, the following functions take an optional LOADFILEOPTION structure:
And the following functions take an optional SAVEFILEOPTION structure:
The LOADINFOCALLBACK function now takes an extra pointer to user-defined data parameter, as does L_SetLoadInfoCallback.
L_CompressBitmapWithStamp has been removed, you can use L_SaveFile instead.
L_DecompressBitmapMemory and L_DecompressMemory have been removed, you can use L_LoadBitmapMemory instead.
L_SetDimension has been renamed to L_SetLoadResolution. (The parameters are all the same).
L_GetDimension has been renamed to L_GetLoadResolution. (The parameters are all the same).
L_EnumDimensions has been renamed to L_ReadLoadResolutions. (The parameters are the same).
The STATUSCALLBACK function now takes an extra pointer to user-defined data parameter, as does L_SetStatusCallback.
L_RedirectIO now takes an extra pointer to user-defined data parameter, as do the following callbacks:
L_ColorResBitmap and L_ColorResBitmapList now take an optional hPalette parameter for using a Windows Logical palette.
L_CreateBitmap now allows the user to allocate the memory for the bitmap by taking two new parameters.
L_ResampleBitmap was removed. You can achieve the same functionality by calling L_SizeBitmap and passing SIZE_RESAMPLE for uFlags. L_SizeBitmap takes the following flags:
SIZE_NORMAL
SIZE_FAVORBLACK
SIZE_RESAMPLE
SIZE_BICUBIC
L_RotateBitmapFine has been removed, now L_RotateBitmap takes one extra parameter.
Changed structures
The size of the TWAINPROPERTIES member dwReserved is now based on whether WIN32 is defined. (11.5)
The RGNXFORM structure uViewPerspective member now includes flags for all the View Perspective values. (11.5)
The LOADINFO Flags member now includes flags for all the supported View Perspective values. (11.5)
The nFormat and uSubFormats members of the FILESAVEFORMAT structure include flags to support 48- and 64-bit TIFF files. (11.5)
The EXTFILEOPTION structure has been removed, and has been replaced by the LOADFILEOPTION structure and the SAVEFILEOPTION structure.
The FILESAVEPARM structure has one new member, nSubTypeIndex, used for getting/setting the index of the sub-type listbox.
The following members have been added to the BITMAPHANDLE structure:
L_UINT PaintGamma; /* Paint gamma value to be used during painting */
L_INT PaintContrast; /* Paint contrast value to be used during painting */
L_INT PaintIntensity; /* Paint intensity value to be used during painting */
L_UCHAR *pPaintLUT; /* Paint LUT generated from PaintIntensity, PaintGamma, PaintIntensity */
L_UINT32 Reserved; /* reserved field, do not use */
The TWAINPROPERTIES structure now has four new members:
lSize
nDuplex
nEnableDuplex
dwReserved
The LEADBITMAPLOAD structure now has one new member:
pLOADFILEOPTION pOptions;
The LEADBITMAPSAVE structure now has one new member:
pSAVEFILEOPTION pOptions;
The COMPRESSIONOPTS structure has added the following members (refer to Ltviddlln.chm):
L_BOOL Constrained;
L_BOOL FieldPic;
L_INT FrameRate;
L_INT FramesGOP;
L_INT PelAspectRatio;
L_INT ProfileID;
L_INT LevelID;
L_INT ChromaFormat;
L_INT VideoFormat;
L_INT IntraDcPrec;
L_INT32 BitRate;
Removed structures
The EXTFILEOPTION structure has been removed, and has been replaced by the LOADFILEOPTION structure and the SAVEFILEOPTION structure.
The rest of this topic lists the new functions in version 11.
Annotations (Express only)
L_AnnSetName
L_AnnGetName
BarCode (11.5) (Add-on to Express Imaging toolkits)
L_BarCodeFree (Refer to Ltbardlln.chm)
L_BarCodeGetDuplicated (Refer to Ltbardlln.chm)
L_BarCodeGetNextDuplicated (Refer to Ltbardlln.chm)
L_BarCodeIsDuplicated (Refer to Ltbardlln.chm)
L_BarCodeRead (Refer to Ltbardlln.chm)
L_BarCodeWrite (Refer to Ltbardlln.chm)
L_BarCodeVersionInfo (Refer to Ltbardlln.chm)
DICOM File Format Control
L_DicomDeleteKey (Refer to Ltdicdlln.chm) (11.5)
L_DicomFindFirstKey (Refer to Ltdicdlln.chm) (11.5)
L_DicomFindLastKey (Refer to Ltdicdlln.chm) (11.5)
L_DicomFindNextKey (Refer to Ltdicdlln.chm) (11.5)
L_DicomFindPrevKey (Refer to Ltdicdlln.chm) (11.5)
L_DicomGetChildKey (Refer to Ltdicdlln.chm) (11.5)
L_DicomGetFirstKey (Refer to Ltdicdlln.chm) (11.5)
L_DicomGetLastKey (Refer to Ltdicdlln.chm) (11.5)
L_DicomGetNextKey (Refer to Ltdicdlln.chm) (11.5)
L_DicomGetParentKey (Refer to Ltdicdlln.chm) (11.5)
L_DicomGetPrevKey (Refer to Ltdicdlln.chm) (11.5)
L_DicomGetRootKey (Refer to Ltdicdlln.chm) (11.5)
L_DicomGetValueKey (Refer to Ltdicdlln.chm) (11.5)
L_DicomInsertKey (Refer to Ltdicdlln.chm) (11.5)
L_DicomIsVolatileElement (Refer to Ltdicdlln.chm)
DICOM Communication Control (11.5)
L_DicomAccept (Refer to Ltdicdlln.chm)
L_DicomAddPresentation (Refer to Ltdicdlln.chm)
L_DicomAddTransfer (Refer to Ltdicdlln.chm)
L_DicomAddUserInfo (Refer to Ltdicdlln.chm)
L_DicomClose (Refer to Ltdicdlln.chm)
L_DicomConnect (Refer to Ltdicdlln.chm)
L_DicomCopyDS (Refer to Ltdicdlln.chm)
L_DicomCreateAssociate (Refer to Ltdicdlln.chm)
L_DicomCreateNet (Refer to Ltdicdlln.chm)
L_DicomDefaultAssociate (Refer to Ltdicdlln.chm)
L_DicomDelPresentation (Refer to Ltdicdlln.chm)
L_DicomDelTransfer (Refer to Ltdicdlln.chm)
L_DicomDelUserInfo (Refer to Ltdicdlln.chm)
L_DicomFindAbstract (Refer to Ltdicdlln.chm)
L_DicomFreeAssociate (Refer to Ltdicdlln.chm)
L_DicomFreeNet (Refer to Ltdicdlln.chm)
L_DicomGetAbstract (Refer to Ltdicdlln.chm)
L_DicomGetApplication (Refer to Ltdicdlln.chm)
L_DicomGetAssociate (Refer to Ltdicdlln.chm)
L_DicomGetCalled (Refer to Ltdicdlln.chm)
L_DicomGetCalling (Refer to Ltdicdlln.chm)
L_DicomGetClient (Refer to Ltdicdlln.chm)
L_DicomGetClientCount (Refer to Ltdicdlln.chm)
L_DicomGetDataUserInfo (Refer to Ltdicdlln.chm)
L_DicomGetExtended (Refer to Ltdicdlln.chm)
L_DicomGetHostInfo (Refer to Ltdicdlln.chm)
L_DicomGetImplementClass (Refer to Ltdicdlln.chm)
L_DicomGetImplementVersion (Refer to Ltdicdlln.chm)
L_DicomGetInfoCS (Refer to Ltdicdlln.chm)
L_DicomGetInvokedOperations (Refer to Ltdicdlln.chm)
L_DicomGetLengthExtended (Refer to Ltdicdlln.chm)
L_DicomGetLengthUserInfo (Refer to Ltdicdlln.chm)
L_DicomGetMaxLength (Refer to Ltdicdlln.chm)
L_DicomGetPeerInfo (Refer to Ltdicdlln.chm)
L_DicomGetPerformedOperations (Refer to Ltdicdlln.chm)
L_DicomGetPresentation (Refer to Ltdicdlln.chm)
L_DicomGetPresentationCount (Refer to Ltdicdlln.chm)
L_DicomGetProviderRole (Refer to Ltdicdlln.chm)
L_DicomGetQueueSend (Refer to Ltdicdlln.chm)
L_DicomGetResult (Refer to Ltdicdlln.chm)
L_DicomGetServer (Refer to Ltdicdlln.chm)
L_DicomGetTransfer (Refer to Ltdicdlln.chm)
L_DicomGetTransferCount (Refer to Ltdicdlln.chm)
L_DicomGetTypeUserInfo (Refer to Ltdicdlln.chm)
L_DicomGetUserInfoCount (Refer to Ltdicdlln.chm)
L_DicomGetUserRole (Refer to Ltdicdlln.chm)
L_DicomGetVersion (Refer to Ltdicdlln.chm)
L_DicomInitCS (Refer to Ltdicdlln.chm)
L_DicomIsActivated (Refer to Ltdicdlln.chm)
L_DicomIsAssociated (Refer to Ltdicdlln.chm)
L_DicomIsAsyncOperations (Refer to Ltdicdlln.chm)
L_DicomIsConnected (Refer to Ltdicdlln.chm)
L_DicomIsImplementClass (Refer to Ltdicdlln.chm)
L_DicomIsImplementVersion (Refer to Ltdicdlln.chm)
L_DicomIsMaxLength (Refer to Ltdicdlln.chm)
L_DicomIsRequest (Refer to Ltdicdlln.chm)
L_DicomIsRoleSelect (Refer to Ltdicdlln.chm)
L_DicomListen (Refer to Ltdicdlln.chm)
L_DicomResetAssociate (Refer to Ltdicdlln.chm)
L_DicomSendAbort (Refer to Ltdicdlln.chm)
L_DicomSendAssociateAccept (Refer to Ltdicdlln.chm)
L_DicomSendAssociateReject (Refer to Ltdicdlln.chm)
L_DicomSendAssociateRequest (Refer to Ltdicdlln.chm)
L_DicomSendData (Refer to Ltdicdlln.chm)
L_DicomSendReleaseRequest (Refer to Ltdicdlln.chm)
L_DicomSendReleaseResponse (Refer to Ltdicdlln.chm)
L_DicomSetAbstract (Refer to Ltdicdlln.chm)
L_DicomSetApplication (Refer to Ltdicdlln.chm)
L_DicomSetAsyncOperations (Refer to Ltdicdlln.chm)
L_DicomSetCallback (Refer to Ltdicdlln.chm)
L_DicomSetCalled (Refer to Ltdicdlln.chm)
L_DicomSetCalling (Refer to Ltdicdlln.chm)
L_DicomSetDebugDS (Refer to Ltdicdlln.chm)
L_DicomSetExtended (Refer to Ltdicdlln.chm)
L_DicomSetImplementClass (Refer to Ltdicdlln.chm)
L_DicomSetImplementVersion (Refer to Ltdicdlln.chm)
L_DicomSetMaxLength (Refer to Ltdicdlln.chm)
L_DicomSetPresentation (Refer to Ltdicdlln.chm)
L_DicomSetRequest (Refer to Ltdicdlln.chm)
L_DicomSetResult (Refer to Ltdicdlln.chm)
L_DicomSetRoleSelect (Refer to Ltdicdlln.chm)
L_DicomSetTransfer (Refer to Ltdicdlln.chm)
L_DicomSetUserInfo (Refer to Ltdicdlln.chm)
L_DicomSetVersion (Refer to Ltdicdlln.chm)
L_DicomShutDown (Refer to Ltdicdlln.chm)
L_DicomStartUp (Refer to Ltdicdlln.chm)
ACCEPTCALLBACK (Refer to Ltdicdlln.chm)
CLOSECALLBACK (Refer to Ltdicdlln.chm)
CONNECTCALLBACK (Refer to Ltdicdlln.chm)
RECEIVEABORTCALLBACK (Refer to Ltdicdlln.chm)
RECEIVEASSOCIATEACCEPTCALLBACK (Refer to Ltdicdlln.chm)
RECEIVEASSOCIATEREJECTCALLBACK (Refer to Ltdicdlln.chm)
RECEIVEASSOCIATEREQUESTCALLBACK (Refer to Ltdicdlln.chm)
RECEIVECALLBACK (Refer to Ltdicdlln.chm)
RECEIVECCANCELREQUESTCALLBACK (Refer to Ltdicdlln.chm)
RECEIVECECHOREQUESTCALLBACK (Refer to Ltdicdlln.chm)
RECEIVECECHORESPONSECALLBACK (Refer to Ltdicdlln.chm)
RECEIVECFINDREQUESTCALLBACK (Refer to Ltdicdlln.chm)
RECEIVECFINDRESPONSECALLBACK (Refer to Ltdicdlln.chm)
RECEIVECGETREQUESTCALLBACK (Refer to Ltdicdlln.chm)
RECEIVECGETRESPONSECALLBACK (Refer to Ltdicdlln.chm)
RECEIVECMOVEREQUESTCALLBACK (Refer to Ltdicdlln.chm)
RECEIVECMOVERESPONSECALLBACK (Refer to Ltdicdlln.chm)
RECEIVECSTOREREQUESTCALLBACK (Refer to Ltdicdlln.chm)
RECEIVECSTORERESPONSECALLBACK (Refer to Ltdicdlln.chm)
RECEIVEDATACALLBACK (Refer to Ltdicdlln.chm)
RECEIVENACTIONREQUESTCALLBACK (Refer to Ltdicdlln.chm)
RECEIVENACTIONRESPONSECALLBACK (Refer to Ltdicdlln.chm)
RECEIVENCREATEREQUESTCALLBACK (Refer to Ltdicdlln.chm)
RECEIVENCREATERESPONSECALLBACK (Refer to Ltdicdlln.chm)
RECEIVENDELETEREQUESTCALLBACK (Refer to Ltdicdlln.chm)
RECEIVENDELETERESPONSECALLBACK (Refer to Ltdicdlln.chm)
RECEIVENGETREQUESTCALLBACK (Refer to Ltdicdlln.chm)
RECEIVENGETRESPONSECALLBACK (Refer to Ltdicdlln.chm)
RECEIVENREPORTREQUESTCALLBACK (Refer to Ltdicdlln.chm)
RECEIVENREPORTRESPONSECALLBACK (Refer to Ltdicdlln.chm)
RECEIVENSETREQUESTCALLBACK (Refer to Ltdicdlln.chm)
RECEIVENSETRESPONSECALLBACK (Refer to Ltdicdlln.chm)
RECEIVERELEASEREQUESTCALLBACK (Refer to Ltdicdlln.chm)
RECEIVERELEASERESPONSECALLBACK (Refer to Ltdicdlln.chm)
RECEIVEUNKNOWNCALLBACK (Refer to Ltdicdlln.chm)
SENDCALLBACK (Refer to Ltdicdlln.chm)
Display
L_WindowLevelFillLUT (Express only)
Conversion
Dialogs
L_DlgContourFilter
L_DlgGetStringLen
L_DlgGetString
L_DlgSetString
L_DlgSetFont
ImageList
Load and Save Options
Thumbnail Browser
Vector File Format Support
L_VecApplyTransformation (refer to Ltvecdlln.chm)
L_VecAttachToWindow (refer to Ltvecdlln.chm)
L_VecConvertFromEMF (refer to Ltvecdlln.chm)
L_VecConvertFromWMF (refer to Ltvecdlln.chm)
L_VecConvertToEMF (refer to Ltvecdlln.chm)
L_VecConvertToWMF (refer to Ltvecdlln.chm)
L_VecCopy (refer to Ltvecdlln.chm)
L_VecDeleteObjects (refer to Ltvecdlln.chm)
L_VecDlg3DOptions (refer to Ltvecdlln.chm)
L_VecDlgCamera (refer to Ltvecdlln.chm)
L_VecDlgRotate (refer to Ltvecdlln.chm)
L_VecDlgScale (refer to Ltvecdlln.chm)
L_VecDlgTranslate (refer to Ltvecdlln.chm)
L_VecEnumObjects (refer to Ltvecdlln.chm)
L_VecEnumVertices (refer to Ltvecdlln.chm)
L_VecFree (refer to Ltvecdlln.chm)
L_VecGetAmbientLight (refer to Ltvecdlln.chm)
L_VecGetBackgroundColor (refer to Ltvecdlln.chm)
L_VecGetBindVerticesMode (refer to Ltvecdlln.chm)
L_VecGetCamera (refer to Ltvecdlln.chm)
L_VecGetEngine (refer to Ltvecdlln.chm)
L_VecGetObjectParallelogram (refer to Ltvecdlln.chm)
L_VecGetObjectRect (refer to Ltvecdlln.chm)
L_VecGetPalette (refer to Ltvecdlln.chm)
L_VecGetPan (refer to Ltvecdlln.chm)
L_VecGetPolygonMode (refer to Ltvecdlln.chm)
L_VecGetRotation (refer to Ltvecdlln.chm)
L_VecGetScale (refer to Ltvecdlln.chm)
L_VecGetTranslation (refer to Ltvecdlln.chm)
L_VecGetUseLights (refer to Ltvecdlln.chm)
L_VecGetViewMode (refer to Ltvecdlln.chm)
L_VecGetViewport (refer to Ltvecdlln.chm)
L_VecHitTest (refer to Ltvecdlln.chm)
L_VecInit (refer to Ltvecdlln.chm)
L_VecIs3D (refer to Ltvecdlln.chm)
L_VecIsObjectInsideParallelogram (refer to Ltvecdlln.chm)
L_VecIsObjectInsideRect (refer to Ltvecdlln.chm)
L_VecIsObjectSelected (refer to Ltvecdlln.chm)
L_VecLoadFile (refer to Ltvecdlln.chm)
L_VecLoadMemory (refer to Ltvecdlln.chm)
L_VecLogicalToPhysical (refer to Ltvecdlln.chm)
L_VecPaint (refer to Ltvecdlln.chm)
L_VecRealize (refer to Ltvecdlln.chm)
L_VecSaveFile (refer to Ltvecdlln.chm)
L_VecSaveMemory (refer to Ltvecdlln.chm)
L_VecSelectObject (refer to Ltvecdlln.chm)
L_VecSetAmbientLight (refer to Ltvecdlln.chm)
L_VecSetBackgroundColor (refer to Ltvecdlln.chm)
L_VecSetBindVerticesMode (refer to Ltvecdlln.chm)
L_VecSetCamera (refer to Ltvecdlln.chm)
L_VecSetEngine (refer to Ltvecdlln.chm)
L_VecSetPalette (refer to Ltvecdlln.chm)
L_VecSetPan (refer to Ltvecdlln.chm)
L_VecSetPolygonMode (refer to Ltvecdlln.chm)
L_VecSetRotation (refer to Ltvecdlln.chm)
L_VecSetScale (refer to Ltvecdlln.chm)
L_VecSetTranslation (refer to Ltvecdlln.chm)
L_VecSetUseLights (refer to Ltvecdlln.chm)
L_VecSetViewMode (refer to Ltvecdlln.chm)
L_VecSetViewport (refer to Ltvecdlln.chm)
Miscellaneous
L_StartResizeBitmap (11.5)
L_GetResizedRowCol (11.5)
L_StopResizeBitmap (11.5)
RESIZECALLBACK (11.5)
L_MoveBitmapListItems (11.5)
L_FlipBitmapViewPerspective (11.5)
L_ReverseBitmapViewPerspective (11.5)
L_ContourFilterBitmap (Express only)